Skip to content

Commit 371ea2d

Browse files
committed
[tests] Ignore trimmer warnings in introspection tests.
1 parent b8d92e9 commit 371ea2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/introspection/dotnet/shared.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818

1919
<Nullable>enable</Nullable>
2020

21+
<!-- warnings IL2026;IL2057;IL2059;IL2070;IL2075;IL2096: trimmability warnings. The introspection tests aren't trimmable (we set MtouchLink=None), so just ignore these -->
22+
<NoWarn>$(NoWarn);IL2026;IL2057;IL2059;IL2070;IL2075;IL2096</NoWarn>
23+
2124
<!-- warning CA1422: This call site is reachable on: '...': we use APIs that aren't available on a certain OS platform all the time (in some cases to verify any broken behavior), so ignore such warnings -->
2225
<NoWarn>$(NoWarn);CA1422</NoWarn>
2326

0 commit comments

Comments
 (0)