Skip to content

Enable trim/AOT analyzers on libraries tests#126863

Open
MichalStrehovsky wants to merge 2 commits intodotnet:mainfrom
MichalStrehovsky:analyzetests
Open

Enable trim/AOT analyzers on libraries tests#126863
MichalStrehovsky wants to merge 2 commits intodotnet:mainfrom
MichalStrehovsky:analyzetests

Conversation

@MichalStrehovsky
Copy link
Copy Markdown
Member

Contributes to #126862.

This is where we are right now in terms of warnings (some of these are double/triple/quadruple-counted because of multiple TFMs, the exact number is not important):

Project Trim AOT
AppleHybrid.Tests 0 0
ComInterfaceGenerator.Tests 0 0
ComInterfaceGenerator.Unit.Tests 1 0
Common.Tests 0 0
IcuAppLocal.Tests 0 0
IntrinsicsInSystemPrivateCoreLib.Tests 0 0
Invariant.Tests 2 0
JSImportGenerator.Unit.Tests 0 0
LibraryImportGenerator.Tests 0 0
LibraryImportGenerator.Unit.Tests 0 0
MetricOuterLoop.Tests 0 0
MetricOuterLoop1.Tests 0 0
Microsoft.Bcl.AsyncInterfaces.Tests 0 0
Microsoft.Bcl.Cryptography.Tests 90 0
Microsoft.Bcl.Memory.Tests 0 0
Microsoft.Bcl.Numerics.Tests 0 0
Microsoft.Bcl.TimeProvider.Tests 0 0
Microsoft.CSharp.Tests 450 561
Microsoft.Extensions.Caching.Memory.Tests 0 0
Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests 9 4
Microsoft.Extensions.Configuration.Binder.Tests 359 293
Microsoft.Extensions.Configuration.CommandLine.Tests 1 1
Microsoft.Extensions.Configuration.EnvironmentVariables.Tests 4 4
Microsoft.Extensions.Configuration.FileExtensions.Tests 0 0
Microsoft.Extensions.Configuration.Functional.Tests 18 18
Microsoft.Extensions.Configuration.Ini.Tests 1 1
Microsoft.Extensions.Configuration.Json.Tests 1 1
Microsoft.Extensions.Configuration.Tests 1 1
Microsoft.Extensions.Configuration.UserSecrets.Tests 0 0
Microsoft.Extensions.Configuration.Xml.Tests 66 66
Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests 1 0
Microsoft.Extensions.DependencyInjection.Tests 32 10
Microsoft.Extensions.DependencyModel.Tests 0 0
Microsoft.Extensions.Diagnostics.Abstractions.Tests 0 0
Microsoft.Extensions.Diagnostics.Tests 0 0
Microsoft.Extensions.FileProviders.Composite.Tests 0 0
Microsoft.Extensions.FileProviders.Physical.Tests 0 0
Microsoft.Extensions.FileSystemGlobbing.Tests 1 0
Microsoft.Extensions.HostFactoryResolver.Tests 3 0
Microsoft.Extensions.Hosting.Abstractions.Tests 0 0
Microsoft.Extensions.Hosting.Functional.Tests 0 0
Microsoft.Extensions.Hosting.Systemd.Tests 0 0
Microsoft.Extensions.Hosting.Unit.Tests 4 2
Microsoft.Extensions.Hosting.WindowsServices.Tests 0 0
Microsoft.Extensions.Http.Tests 0 0
Microsoft.Extensions.Logging.Console.Tests 4 10
Microsoft.Extensions.Logging.EventSource.Tests 0 1
Microsoft.Extensions.Logging.Generators.Roslyn3.11.Tests 0 0
Microsoft.Extensions.Logging.Generators.Roslyn4.0.Tests 0 0
Microsoft.Extensions.Logging.Generators.Roslyn4.8.Tests 0 0
Microsoft.Extensions.Logging.Testing.Tests 0 0
Microsoft.Extensions.Logging.Tests 0 1
Microsoft.Extensions.Options.ConfigurationExtensions.SourceGeneration.Tests 0 0
Microsoft.Extensions.Options.ConfigurationExtensions.UnitTests 0 0
Microsoft.Extensions.Options.SourceGeneration.Tests 25 0
Microsoft.Extensions.Options.SourceGeneration.Unit.Tests 46 0
Microsoft.Extensions.Options.Tests 34 19
Microsoft.Extensions.Primitives.Tests 0 0
Microsoft.VisualBasic.Core.Tests 271 20
Microsoft.Win32.Primitives.Tests 0 0
Microsoft.Win32.Registry.AccessControl.Tests 0 0
Microsoft.Win32.Registry.Tests 0 0
Microsoft.Win32.SystemEvents.Tests 0 1
Microsoft.XmlSerializer.Generator.Tests 115 89
System.Buffers.Tests 4 0
System.CodeDom.Tests 5 5
System.Collections.Concurrent.Tests 19 9
System.Collections.Immutable.Tests 24 7
System.Collections.NonGeneric.Tests 16 12
System.Collections.Specialized.Tests 16 11
System.Collections.Tests 32 10
System.ComponentModel.Annotations.Tests 544 2
System.ComponentModel.Composition.Registration.Tests 19 0
System.ComponentModel.Composition.Tests 59 16
System.ComponentModel.EventBasedAsync.Tests 0 0
System.ComponentModel.Primitives.Tests 5 2
System.ComponentModel.Tests 0 0
System.ComponentModel.TypeConverter.Tests 571 5
System.Composition.AttributeModel.Tests 0 0
System.Composition.Convention.Tests 9 0
System.Composition.Hosting.Tests 0 0
System.Composition.Runtime.Tests 17 0
System.Composition.Tests 0 0
System.Composition.TypedParts.Tests 11 1
System.Configuration.ConfigurationManager.Tests 12 0
System.Console.Manual.Tests 0 0
System.Console.Tests 0 0
System.Data.Common.Tests 1103 428
System.Data.DataSetExtensions.Tests 8 8
System.Data.Odbc.Tests 0 0
System.Data.OleDb.Tests 6 54
System.Diagnostics.Contracts.Tests 0 0
System.Diagnostics.Debug.Tests 19 0
System.Diagnostics.DiagnosticSource.Switches.Tests 0 0
System.Diagnostics.DiagnosticSource.Tests 87 1
System.Diagnostics.EventLog.Tests 1 0
System.Diagnostics.FileVersionInfo.Tests 0 0
System.Diagnostics.PerformanceCounter.Tests 0 0
System.Diagnostics.Process.Tests 1 0
System.Diagnostics.StackTrace.Tests 19 1
System.Diagnostics.TextWriterTraceListener.Tests 0 0
System.Diagnostics.Tools.Tests 0 0
System.Diagnostics.TraceSource.Config.Tests 0 0
System.Diagnostics.TraceSource.Tests 0 0
System.Diagnostics.Tracing.Tests 499 0
System.DirectoryServices.AccountManagement.Tests 2 0
System.DirectoryServices.Protocols.Tests 0 0
System.DirectoryServices.Tests 3 0
System.Drawing.Primitives.Tests 16 6
System.Dynamic.Runtime.Tests 3853 3852
System.Formats.Asn1.Tests 0 1
System.Formats.Cbor.Tests 0 0
System.Formats.Nrbf.Tests 6 56
System.Formats.Tar.Manual.Tests 0 0
System.Formats.Tar.Tests 1 0
System.Globalization.Calendars.IOS.Tests 0 0
System.Globalization.Calendars.Tests 0 0
System.Globalization.CalendarsWithConfigSwitch.Tests 0 0
System.Globalization.Extensions.Nls.Tests 0 0
System.Globalization.Extensions.Tests 0 0
System.Globalization.Extensions.iOS.Tests 0 0
System.Globalization.IOS.Tests 0 0
System.Globalization.Nls.Tests 0 0
System.Globalization.Tests 0 0
System.IO.Compression.Brotli.Tests 0 0
System.IO.Compression.Tests 0 0
System.IO.Compression.ZipFile.Tests 0 0
System.IO.FileSystem.AccessControl.Tests 0 0
System.IO.FileSystem.DisabledFileLocking.Tests 0 0
System.IO.FileSystem.DriveInfo.Tests 0 0
System.IO.FileSystem.Manual.Tests 0 0
System.IO.FileSystem.Primitives.Tests 0 0
System.IO.FileSystem.Tests 80 0
System.IO.FileSystem.Watcher.Tests 1 2
System.IO.Hashing.Tests 1 0
System.IO.IsolatedStorage.Tests 0 0
System.IO.MemoryMappedFiles.Tests 0 2
System.IO.Packaging.Tests 0 1
System.IO.Pipelines.Tests 0 0
System.IO.Pipes.AccessControl.Tests 0 0
System.IO.Pipes.Tests 0 0
System.IO.Ports.Tests 972 0
System.IO.Tests 1 0
System.IO.UnmanagedMemoryStream.Tests 0 0
System.Linq.AsyncEnumerable.Tests 0 0
System.Linq.Expressions.Tests 771 762
System.Linq.Parallel.Tests 10 0
System.Linq.Queryable.Tests 875 870
System.Linq.Tests 26 4
System.Management.Tests 2 1
System.Memory.Data.Tests 28 28
System.Memory.Tests 20 4
System.Net.Http.Enterprise.Tests 0 0
System.Net.Http.Functional.Tests 81 5
System.Net.Http.Json.Functional.Tests 102 102
System.Net.Http.Json.Unit.Tests 3 3
System.Net.Http.Unit.Tests 0 1
System.Net.Http.WinHttpHandler.Functional.Tests 1 3
System.Net.Http.WinHttpHandler.Unit.Tests 1 1
System.Net.HttpListener.Tests 2 2
System.Net.Mail.Functional.Tests 2 1
System.Net.Mail.Unit.Tests 0 0
System.Net.NameResolution.Functional.Tests 4 0
System.Net.NameResolution.Pal.Tests 0 0
System.Net.NetworkInformation.Functional.Tests 2 3
System.Net.Ping.Functional.Tests 2 0
System.Net.Primitives.Functional.Tests 2 2
System.Net.Primitives.Pal.Tests 0 0
System.Net.Primitives.UnitTests.Tests 0 0
System.Net.Quic.Functional.Tests 3 0
System.Net.Requests.Tests 6 3
System.Net.Security.Enterprise.Tests 0 0
System.Net.Security.Tests 4 6
System.Net.Security.Unit.Tests 0 1
System.Net.ServerSentEvents.Tests 0 0
System.Net.ServicePoint.Tests 0 0
System.Net.Sockets.Tests 4 1
System.Net.WebClient.Tests 0 0
System.Net.WebHeaderCollection.Tests 0 0
System.Net.WebProxy.Tests 0 3
System.Net.WebSockets.Client.Tests 2 0
System.Net.WebSockets.Client.Wasm.Tests 0 0
System.Net.WebSockets.Tests 0 0
System.Numerics.Tensors.Tests 4 3
System.Numerics.Vectors.Tests 0 0
System.ObjectModel.Tests 29 9
System.Private.Uri.Functional.Tests 0 0
System.Private.Uri.Unit.Tests 0 0
System.Private.Xml.Tests 429 269
System.Reflection.Context.Tests 231 11
System.Reflection.CoreCLR.Tests 2 0
System.Reflection.DispatchProxy.Tests 32 11
System.Reflection.Emit.ILGeneration.Tests 16 15
System.Reflection.Emit.Lightweight.Tests 6 82
System.Reflection.Emit.Tests 644 131
System.Reflection.Extensions.Tests 28 0
System.Reflection.InvokeEmit.Tests 15 10
System.Reflection.InvokeInterpreted.Tests 15 10
System.Reflection.Metadata.Tests 16 16
System.Reflection.MetadataLoadContext.Tests 486 89
System.Reflection.Tests 488 49
System.Reflection.TypeExtensions.Tests 59 2
System.Resources.Extensions.BinaryFormat.Tests 36 21
System.Resources.Extensions.Compat.Tests 15 0
System.Resources.Extensions.Tests 15 0
System.Resources.Reader.Tests 0 0
System.Resources.ResourceManager.Tests 69 0
System.Resources.Writer.Tests 0 0
System.Runtime.Caching.Tests 0 0
System.Runtime.CompilerServices.Unsafe.Tests 0 0
System.Runtime.CompilerServices.VisualC.Tests 0 0
System.Runtime.Extensions.Tests 52 4
System.Runtime.Handles.Tests 0 0
System.Runtime.IOS.Tests 0 0
System.Runtime.InteropServices.ComDisabled.Tests 1 0
System.Runtime.InteropServices.JavaScript.Tests 0 0
System.Runtime.InteropServices.RuntimeInformation.Tests 1 0
System.Runtime.InteropServices.Tests 59 186
System.Runtime.Intrinsics.Tests 0 0
System.Runtime.InvariantTimezone.Tests 0 0
System.Runtime.Loader.DefaultContext.Tests 8 0
System.Runtime.Loader.RefEmitLoadContext.Tests 6 0
System.Runtime.Loader.Tests 104 4
System.Runtime.Nls.Tests 27 62
System.Runtime.Numerics.Tests 11 1
System.Runtime.ReflectionInvokeEmit.Tests 2 0
System.Runtime.ReflectionInvokeInterpreted.Tests 2 0
System.Runtime.Serialization.Formatters.Disabled.Tests 6 3
System.Runtime.Serialization.Formatters.Tests 89 26
System.Runtime.Serialization.Json.ReflectionOnly.Tests 67 64
System.Runtime.Serialization.Json.Tests 67 64
System.Runtime.Serialization.Primitives.Tests 2 1
System.Runtime.Serialization.Schema.Tests 101 23
System.Runtime.Serialization.Xml.Canonicalization.Tests 2 2
System.Runtime.Serialization.Xml.ReflectionOnly.Tests 140 111
System.Runtime.Serialization.Xml.Tests 196 167
System.Runtime.Tests 444 233
System.Security.AccessControl.Tests 0 1
System.Security.Claims.Tests 0 0
System.Security.Cryptography.Cng.Tests 70 5
System.Security.Cryptography.Cose.Tests 0 4
System.Security.Cryptography.Csp.Tests 85 4
System.Security.Cryptography.OpenSsl.Tests 0 0
System.Security.Cryptography.Pkcs.Tests 0 3
System.Security.Cryptography.ProtectedData.Tests 0 0
System.Security.Cryptography.Tests 277 9
System.Security.Cryptography.Xml.Tests 244 241
System.Security.Permissions.Tests 0 0
System.Security.Principal.Windows.Tests 0 0
System.Security.SecureString.Tests 0 0
System.ServiceModel.Syndication.Tests 48 48
System.ServiceProcess.ServiceController.Tests 0 0
System.Speech.Tests 0 0
System.Text.Encoding.CodePages.Tests 0 0
System.Text.Encoding.Extensions.Tests 0 0
System.Text.Encoding.Tests 0 0
System.Text.Encodings.Web.Tests 0 0
System.Text.Json.SourceGeneration.Roslyn3.11.Tests 76 76
System.Text.Json.SourceGeneration.Roslyn3.11.Unit.Tests 3 0
System.Text.Json.SourceGeneration.Roslyn4.4.Tests 206 130
System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests 3 0
System.Text.Json.Tests 2953 2910
System.Text.RegularExpressions.Tests 28 7
System.Text.RegularExpressions.Unit.Tests 0 0
System.Threading.AccessControl.Tests 0 0
System.Threading.Channels.Tests 13 4
System.Threading.Overlapped.Tests 0 0
System.Threading.RateLimiting.Tests 2 0
System.Threading.Tasks.Dataflow.Tests 11 1
System.Threading.Tasks.Extensions.Tests 3 0
System.Threading.Tasks.Parallel.Tests 0 0
System.Threading.Tasks.Tests 19 4
System.Threading.Tests 0 1
System.Threading.Thread.Tests 0 0
System.Threading.ThreadPool.Tests 0 0
System.Threading.ThreadPool.WindowsThreadPool.Tests 0 0
System.Threading.Timer.Tests 0 0
System.Transactions.Local.Tests 8 0
System.ValueTuple.Tests 0 0
System.Web.HttpUtility.Tests 0 0
System.Windows.Extensions.Tests 0 0
System.Xml.Linq.Axes.Tests 0 0
System.Xml.Linq.Events.Tests 0 0
System.Xml.Linq.Misc.Tests 0 8
System.Xml.Linq.Properties.Tests 0 0
System.Xml.Linq.SDMSample.Tests 0 0
System.Xml.Linq.Streaming.Tests 0 0
System.Xml.Linq.TreeManipulation.Tests 0 0
System.Xml.Linq.xNodeBuilder.Tests 0 0
System.Xml.Linq.xNodeReader.Tests 0 0
System.Xml.Schema.Extensions.Tests 0 0
System.Xml.XmlSerializer.ReflectionOnly.Tests 253 192
--------------------------------------------------------------------------------------- -----: ----:
TOTAL 19858 12728

Cc @dotnet/area-infrastructure-libraries @dotnet/ilc-contrib

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables trim and NativeAOT analyzers for src/libraries test projects by default (per #126862), and temporarily opts specific test projects out where analyzer warnings currently exist.

Changes:

  • Turn on EnableTrimAnalyzer and EnableAotAnalyzer by default for libraries test projects via src/libraries/Directory.Build.props.
  • Add per-test-project overrides setting EnableTrimAnalyzer / EnableAotAnalyzer to false (with issue link) to keep the build green while warnings are being worked down.

Reviewed changes

Copilot reviewed 157 out of 157 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/libraries/Directory.Build.props Enables trim/AOT analyzers by default for IsTestProject under src/libraries.
src/libraries/Microsoft.Bcl.Cryptography/tests/Microsoft.Bcl.Cryptography.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/Microsoft.CSharp/tests/Microsoft.CSharp.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.Binder/tests/SourceGenerationTests/Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.Binder/tests/UnitTests/Microsoft.Extensions.Configuration.Binder.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.CommandLine/tests/Microsoft.Extensions.Configuration.CommandLine.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.EnvironmentVariables/tests/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.Ini/tests/Microsoft.Extensions.Configuration.Ini.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.Json/tests/Microsoft.Extensions.Configuration.Json.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration.Xml/tests/Microsoft.Extensions.Configuration.Xml.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/Microsoft.Extensions.Configuration.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Configuration/tests/Microsoft.Extensions.Configuration.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.DependencyInjection/tests/DI.External.Tests/Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/Microsoft.Extensions.DependencyInjection/tests/DI.Tests/Microsoft.Extensions.DependencyInjection.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.FileSystemGlobbing/tests/Microsoft.Extensions.FileSystemGlobbing.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/Microsoft.Extensions.HostFactoryResolver/tests/Microsoft.Extensions.HostFactoryResolver.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Microsoft.Extensions.Hosting.Unit.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Logging.Console/tests/Microsoft.Extensions.Logging.Console.Tests/Microsoft.Extensions.Logging.Console.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Logging.EventSource/tests/Microsoft.Extensions.Logging.EventSource.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Logging/tests/Common/Microsoft.Extensions.Logging.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Options/tests/Microsoft.Extensions.Options.Tests/Microsoft.Extensions.Options.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Options/tests/SourceGeneration.Unit.Tests/Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/Microsoft.Extensions.Options/tests/SourceGenerationTests/Microsoft.Extensions.Options.SourceGeneration.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/Microsoft.VisualBasic.Core/tests/Microsoft.VisualBasic.Core.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/Microsoft.Win32.SystemEvents/tests/Microsoft.Win32.SystemEvents.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/Microsoft.XmlSerializer.Generator/tests/Microsoft.XmlSerializer.Generator.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.CodeDom/tests/System.CodeDom.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Collections.Concurrent/tests/System.Collections.Concurrent.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Collections.Immutable/tests/System.Collections.Immutable.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Collections.NonGeneric/tests/System.Collections.NonGeneric.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Collections.Specialized/tests/System.Collections.Specialized.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Collections/tests/System.Collections.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.ComponentModel.Annotations/tests/System.ComponentModel.Annotations.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.ComponentModel.Composition.Registration/tests/System.ComponentModel.Composition.Registration.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.ComponentModel.Composition/tests/System.ComponentModel.Composition.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.ComponentModel.Primitives/tests/System.ComponentModel.Primitives.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Composition.Convention/tests/System.Composition.Convention.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Composition.Runtime/tests/System.Composition.Runtime.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Composition.TypedParts/tests/System.Composition.TypedParts.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Data.Common/tests/System.Data.Common.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Data.Common/tests/System.Data.DataSetExtensions.Tests/System.Data.DataSetExtensions.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Data.OleDb/tests/System.Data.OleDb.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Diagnostics.DiagnosticSource/tests/System.Diagnostics.DiagnosticSource.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Diagnostics.EventLog/tests/System.Diagnostics.EventLog.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.DirectoryServices.AccountManagement/tests/System.DirectoryServices.AccountManagement.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Drawing.Primitives/tests/System.Drawing.Primitives.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Formats.Asn1/tests/System.Formats.Asn1.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Formats.Tar/tests/System.Formats.Tar.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.IO.Hashing/tests/System.IO.Hashing.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.IO.MemoryMappedFiles/tests/System.IO.MemoryMappedFiles.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.IO.Packaging/tests/System.IO.Packaging.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.IO.Ports/tests/System.IO.Ports.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Linq.Expressions/tests/System.Linq.Expressions.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Linq.Parallel/tests/System.Linq.Parallel.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Linq.Queryable/tests/System.Linq.Queryable.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Linq/tests/System.Linq.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Management/tests/System.Management.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Memory.Data/tests/System.Memory.Data.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Memory/tests/System.Memory.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Http.Json/tests/UnitTests/System.Net.Http.Json.Unit.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/System.Net.Http.WinHttpHandler.Unit.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Net.HttpListener/tests/System.Net.HttpListener.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.NameResolution/tests/FunctionalTests/System.Net.NameResolution.Functional.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/System.Net.NetworkInformation.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Ping/tests/FunctionalTests/System.Net.Ping.Functional.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Net.Primitives/tests/FunctionalTests/System.Net.Primitives.Functional.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Quic/tests/FunctionalTests/System.Net.Quic.Functional.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Net.Sockets/tests/FunctionalTests/System.Net.Sockets.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Net.WebProxy/tests/System.Net.WebProxy.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Numerics.Tensors/tests/System.Numerics.Tensors.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.ObjectModel/tests/System.ObjectModel.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Private.Xml.Linq/tests/misc/System.Xml.Linq.Misc.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Private.Xml/tests/XmlSerializer/ReflectionOnly/System.Xml.XmlSerializer.ReflectionOnly.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.Context/tests/System.Reflection.Context.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.DispatchProxy/tests/System.Reflection.DispatchProxy.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.Emit.ILGeneration/tests/System.Reflection.Emit.ILGeneration.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.Emit.Lightweight/tests/System.Reflection.Emit.Lightweight.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.Emit/tests/System.Reflection.Emit.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.Extensions/tests/System.Reflection.Extensions.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Reflection.Metadata/tests/System.Reflection.Metadata.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.MetadataLoadContext/tests/System.Reflection.MetadataLoadContext.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Reflection.TypeExtensions/tests/System.Reflection.TypeExtensions.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/ComInterfaceGenerator.Unit.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.ComDisabled.UnitTests/System.Runtime.InteropServices.ComDisabled.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System.Runtime.InteropServices.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Loader/tests/DefaultContext/System.Runtime.Loader.DefaultContext.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime.Loader/tests/RefEmitLoadContext/System.Runtime.Loader.RefEmitLoadContext.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime.Loader/tests/System.Runtime.Loader.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Numerics/tests/System.Runtime.Numerics.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Formatters/tests/Disabled/System.Runtime.Serialization.Formatters.Disabled.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Formatters/tests/System.Runtime.Serialization.Formatters.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Json/tests/ReflectionOnly/System.Runtime.Serialization.Json.ReflectionOnly.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Json/tests/System.Runtime.Serialization.Json.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Primitives/tests/System.Runtime.Serialization.Primitives.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Schema/tests/System.Runtime.Serialization.Schema.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Xml/tests/Canonicalization/System.Runtime.Serialization.Xml.Canonicalization.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Xml/tests/ReflectionOnly/System.Runtime.Serialization.Xml.ReflectionOnly.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Buffers.Tests/System.Buffers.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Diagnostics.Debug.Tests/System.Diagnostics.Debug.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Dynamic.Runtime.Tests/System.Dynamic.Runtime.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Globalization.Tests/Invariant/Invariant.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/System.IO.FileSystem.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.IO.Tests/System.IO.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Reflection.Tests/CoreCLR/System.Reflection.CoreCLR.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Reflection.Tests/InvokeEmit/System.Reflection.InvokeEmit.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Reflection.Tests/InvokeInterpreted/System.Reflection.InvokeInterpreted.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Reflection.Tests/System.Reflection.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Resources.ResourceManager.Tests/System.Resources.ResourceManager.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Runtime.Extensions.Tests/System.Runtime.Extensions.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Runtime.InteropServices.RuntimeInformation.Tests/System.Runtime.InteropServices.RuntimeInformation.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Runtime.Tests/NlsTests/System.Runtime.Nls.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Runtime.Tests/System.Runtime.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Reflection/InvokeEmit/System.Runtime.ReflectionInvokeEmit.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Reflection/InvokeInterpreted/System.Runtime.ReflectionInvokeInterpreted.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Threading.Tasks.Extensions.Tests/System.Threading.Tasks.Extensions.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/System.Threading.Tasks.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Security.AccessControl/tests/System.Security.AccessControl.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Security.Cryptography.Cng/tests/System.Security.Cryptography.Cng.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Security.Cryptography.Cose/tests/System.Security.Cryptography.Cose.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Security.Cryptography.Csp/tests/System.Security.Cryptography.Csp.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Security.Cryptography.Pkcs/tests/System.Security.Cryptography.Pkcs.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Security.Cryptography.Xml/tests/System.Security.Cryptography.Xml.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Security.Cryptography/tests/System.Security.Cryptography.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.ServiceModel.Syndication/tests/System.ServiceModel.Syndication.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/System.Text.Json.SourceGeneration.Roslyn3.11.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/System.Text.Json.SourceGeneration.Roslyn4.4.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Unit.Tests/System.Text.Json.SourceGeneration.Roslyn3.11.Unit.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Unit.Tests/System.Text.Json.SourceGeneration.Roslyn4.4.Unit.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/System.Text.RegularExpressions.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Threading.Channels/tests/System.Threading.Channels.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Threading.RateLimiting/tests/System.Threading.RateLimiting.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).
src/libraries/System.Threading.Tasks.Dataflow/tests/System.Threading.Tasks.Dataflow.Tests.csproj Temporarily disables trim/AOT analyzers for this test project (issue-linked).
src/libraries/System.Threading/tests/System.Threading.Tests.csproj Temporarily disables AOT analyzer for this test project (issue-linked).
src/libraries/System.Transactions.Local/tests/System.Transactions.Local.Tests.csproj Temporarily disables trim analyzer for this test project (issue-linked).

@MichalStrehovsky
Copy link
Copy Markdown
Member Author

The fix for the analyzer crashes is in #126868... I guess that's one more reason why we should do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants