Skip to content

Commit

Permalink
EnableAotAnalyzer by default for src libraries (dotnet/runtime#81608)
Browse files Browse the repository at this point in the history
* EnableAotAnalyzer by default for src libraries

This flips the default of EnableAotAnalyzer to true so all new libraries are analyzed by default. It also allows us to easily see which libraries haven't been annotated yet.

I also fixed the warnings in 2 libraries that were really quick: System.Memory.Data and System.ComponentModel.TypeConverter.

Contributes to dotnet/runtime#75480

Commit migrated from dotnet/runtime@ea7e1c7
  • Loading branch information
eerhardt authored Feb 6, 2023
1 parent a1504e4 commit 14495d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/System.Drawing.Common/src/System.Drawing.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<DefineConstants>$(DefineConstants);DRAWING_NAMESPACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<WarningsNotAsErrors>CS0618</WarningsNotAsErrors>
<EnableAOTAnalyzer>false</EnableAOTAnalyzer>
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<IsPackable>true</IsPackable>
<AddXamarinPlaceholderFilesToPackage>true</AddXamarinPlaceholderFilesToPackage>
Expand Down

0 comments on commit 14495d4

Please sign in to comment.