1 write to Analyzers
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisScope.cs (1)
146
Analyzers
= analyzers;
25 references to Analyzers
Microsoft.CodeAnalysis (25)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (5)
189
foreach (var analyzer in analysisScope.
Analyzers
)
435
AddDiagnostics_NoLock(_nonLocalDiagnosticsOpt, analysisScope.
Analyzers
, builder);
451
AddDiagnostics_NoLock(localDiagsByTree, analysisScope.
Analyzers
, builder);
460
=> AddLocalDiagnosticsForPartialAnalysis_NoLock(localDiagnostics, analysisScope.FilterFileOpt!.Value.SourceTree, analysisScope.
Analyzers
, builder);
466
=> AddLocalDiagnosticsForPartialAnalysis_NoLock(localDiagnostics, analysisScope.FilterFileOpt!.Value.AdditionalFile, analysisScope.
Analyzers
, builder);
DiagnosticAnalyzer\AnalysisScope.cs (4)
76
/// i.e. <see cref="
Analyzers
"/> is the same set as <see cref="CompilationWithAnalyzers.Analyzers"/>.
87
IsSingleFileAnalysis &&
Analyzers
is [CompilerDiagnosticAnalyzer];
179
private ImmutableHashSet<DiagnosticAnalyzer> CreateAnalyzersSet() =>
Analyzers
.ToImmutableHashSet();
211
=> new AnalysisScope(SyntaxTrees, AdditionalFiles,
Analyzers
, HasAllAnalyzers, FilterFileOpt, filterSpan, OriginalFilterFile, OriginalFilterSpan, IsSyntacticSingleFileAnalysis, ConcurrentAnalysis);
DiagnosticAnalyzer\AnalyzerDriver.cs (10)
702
OnDriverException(WhenInitializedTask, this.AnalyzerExecutor, analysisScope.
Analyzers
, cancellationToken);
1642
processedAnalyzers = analysisScope.
Analyzers
;
1854
if (processedAnalyzers.Count < analysisScope.
Analyzers
.Length)
1856
foreach (var analyzer in analysisScope.
Analyzers
)
1868
Debug.Assert(completedAnalyzers.Count < analysisScope.
Analyzers
.Length);
2058
if (analysisScope.
Analyzers
.Length == this.Analyzers.Length)
2063
else if (analysisScope.
Analyzers
.Length == 1)
2066
var analyzer = analysisScope.
Analyzers
[0];
2087
foreach (var analyzer in analysisScope.
Analyzers
)
2117
foreach (var analyzer in analysisScope.
Analyzers
)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (6)
371
var analyzers = analysisScope.
Analyzers
;
376
var suppressorsInAnalysisScope = analysisScope.
Analyzers
.OfType<DiagnosticSuppressor>().ToImmutableHashSet();
781
var (symbolStartAnalyzers, otherAnalyzers) = getSymbolStartAnalyzers(analysisScope.
Analyzers
, analyzerActionCounts);
841
foreach (var analyzer in analysisScope.
Analyzers
)
975
var pendingAnalyzers = _analysisResultBuilder.GetPendingAnalyzers(analysisScope.
Analyzers
, filterScope);
982
return pendingAnalyzers.Length < analysisScope.
Analyzers
.Length ?