DiagnosticAnalyzerExtensions
WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions)
WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, CompilationWithAnalyzersOptions)
WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions, CancellationToken)
net11.0
namespace Microsoft.CodeAnalysis.Diagnostics
{
public static class DiagnosticAnalyzerExtensions
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use WithAnalyzers overload without a cancellation token", false)]
public static CompilationWithAnalyzers! WithAnalyzers(this Compilation! compilation, ImmutableArray<DiagnosticAnalyzer!> analyzers, AnalyzerOptions? options, CancellationToken cancellationToken);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 8.09.010.011.0 |
Information specific to net11.0 | |
| Assembly | Microsoft.CodeAnalysis , Version=5.3.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CodeAnalysis.Common (5.3.0) net10.0 |
| Obsolete | Use WithAnalyzers overload without a cancellation token |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API