Skip to content

Commit

Permalink
Add back NoWarn (dotnet#99995)
Browse files Browse the repository at this point in the history
dotnet#98469 deleted this line. The test is generating half a dozen of these warnings, so put it back.
  • Loading branch information
MichalStrehovsky committed Mar 20, 2024
1 parent 7ae6faa commit 43b55fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/nativeaot/SmokeTests/ComWrappers/ComWrappers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>

<!-- Shouldn't need this: https://github.com/dotnet/linker/issues/2618 -->
<NoWarn>$(NoWarn);IL2050</NoWarn>

<!-- Registers a global 'ComWrappers' instance for marshalling. -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
Expand Down

0 comments on commit 43b55fa

Please sign in to comment.