dotnet / linker

389 stars 126 forks source link

Use warning levels #2957

Closed sbomer closed 1 year ago

sbomer commented 2 years ago

This moves warning codes added since .NET 6 into a new warning wave for 7. It removes the compiler-generated code warnings that are appearing when trimming a 6.0 app with the 7.0 linker - but doesn't fix the IL2070 and IL2067 warnings (existing warning codes, which are now showing up due to improvements in how we understand byrefs).