Skip to content

Commit 43b55fa

Browse files
Add back NoWarn (#99995)
#98469 deleted this line. The test is generating half a dozen of these warnings, so put it back.
1 parent 7ae6faa commit 43b55fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tests/nativeaot/SmokeTests/ComWrappers/ComWrappers.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
44
<CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
55

6+
<!-- Shouldn't need this: https://github.com/dotnet/linker/issues/2618 -->
7+
<NoWarn>$(NoWarn);IL2050</NoWarn>
8+
69
<!-- Registers a global 'ComWrappers' instance for marshalling. -->
710
<RequiresProcessIsolation>true</RequiresProcessIsolation>
811
</PropertyGroup>

0 commit comments

Comments
 (0)