net9.0
namespace Microsoft.CodeAnalysis.Diagnostics
{
    public class CompilationWithAnalyzers
    {
        [Obsolete("This API is no longer required to be invoked. Analyzer state is automatically cleaned up when CompilationWithAnalyzers instance is released.")]
        public static void ClearAnalyzerState(ImmutableArray<DiagnosticAnalyzer!> analyzers);
    }
}
nuget.org
0.0 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Information specific to net9.0
Assemblies

Microsoft.CodeAnalysis , Version=4.11.0.0, PublicKeyToken=31bf3856ad364e35

Microsoft.CodeAnalysis , Version=4.12.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.CodeAnalysis.Common.

Package Microsoft.CodeAnalysis.Common (4.11.0) net8.0
Obsolete This API is no longer required to be invoked. Analyzer state is automatically cleaned up when CompilationWithAnalyzers instance is released.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/11/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙