Skip to content

Commit 8400ed3

Browse files
Remove stale test analyzer suppressions (#128315)
These are no longer needed thanks to extra analysis and Arcade fixes. Cc @dotnet/illink --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 051156c commit 8400ed3

24 files changed

Lines changed: 5 additions & 44 deletions

File tree

src/libraries/Microsoft.Extensions.Logging/tests/Common/Microsoft.Extensions.Logging.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
55
<EnableDefaultItems>true</EnableDefaultItems>
66
<NoWarn>$(NoWarn);NU1511</NoWarn>
7-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
8-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
97
</PropertyGroup>
108

119
<ItemGroup>

src/libraries/Microsoft.Win32.SystemEvents/tests/Microsoft.Win32.SystemEvents.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetFrameworkCurrent)</TargetFrameworks>
44
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
7-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
86
</PropertyGroup>
97
<ItemGroup>
108
<Compile Include="$(CommonPath)Interop\Windows\Interop.Libraries.cs"

src/libraries/System.DirectoryServices.AccountManagement/tests/System.DirectoryServices.AccountManagement.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetFrameworkCurrent)</TargetFrameworks>
4-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
5-
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
64
</PropertyGroup>
75
<ItemGroup>
86
<Compile Include="PrincipalContextTests.cs" />

src/libraries/System.Formats.Asn1/tests/System.Formats.Asn1.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<PropertyGroup>
33
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
6-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
75
</PropertyGroup>
86
<ItemGroup>
97
<Compile Include="Asn1TagTests.cs" />

src/libraries/System.IO.MemoryMappedFiles/tests/System.IO.MemoryMappedFiles.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
44
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
55
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser</TargetFrameworks>
6-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
7-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
86
</PropertyGroup>
97
<ItemGroup>
108
<RdXmlFile Include="default.rd.xml" />

src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/System.Net.Http.WinHttpHandler.Unit.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<DefineConstants>$(DefineConstants);UNITTEST</DefineConstants>
88
<!-- https://github.com/dotnet/runtime/issues/126862 -->
99
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
10-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
1110
</PropertyGroup>
1211
<ItemGroup>
1312
<DefaultReferenceExclusion Include="System.Net.Http.WinHttpHandler" />

src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
1313
<!-- https://github.com/dotnet/runtime/issues/126862 -->
1414
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
15-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
1615
</PropertyGroup>
1716

1817
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->

src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
55
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
66
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser;$(NetCoreAppCurrent)-osx;$(NetCoreAppCurrent)-maccatalyst;$(NetCoreAppCurrent)-ios;$(NetCoreAppCurrent)-tvos;$(NetCoreAppCurrent)-android</TargetFrameworks>
7-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
8-
<EnableAotAnalyzer>false</EnableAotAnalyzer>
97
</PropertyGroup>
108
<!-- Do not reference these assemblies from the TargetingPack since we are building part of the source code for tests. -->
119
<ItemGroup>

src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<EnablePreviewFeatures>true</EnablePreviewFeatures>
77
<EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
88
<!-- https://github.com/dotnet/runtime/issues/126862 -->
9-
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
109
<EnableAotAnalyzer>false</EnableAotAnalyzer>
1110
</PropertyGroup>
1211
<ItemGroup>

src/libraries/System.Net.NameResolution/tests/FunctionalTests/System.Net.NameResolution.Functional.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<IgnoreForCI Condition="'$(TargetOS)' == 'browser'">true</IgnoreForCI>
66
<EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
77
<XunitShowProgress Condition="'$(TargetOS)' == 'wasi'">true</XunitShowProgress>
8-
<!-- https://github.com/dotnet/runtime/issues/126862 -->
9-
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
108
</PropertyGroup>
119
<ItemGroup>
1210
<Compile Include="ActivityTest.cs" />

0 commit comments

Comments
 (0)