1 write to _hasDiagnosticSuppressors
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
378
_hasDiagnosticSuppressors
= this.Analyzers.Any(static a => a is DiagnosticSuppressor);
5 references to _hasDiagnosticSuppressors
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\AnalyzerDriver.cs (5)
379
_programmaticSuppressions =
_hasDiagnosticSuppressors
? new ConcurrentSet<Suppression>() : null;
380
_diagnosticsProcessedForProgrammaticSuppressions =
_hasDiagnosticSuppressors
? new ConcurrentSet<Diagnostic>(ReferenceEqualityComparer.Instance) : null;
943
if (!
_hasDiagnosticSuppressors
)
956
!
_hasDiagnosticSuppressors
)
966
Debug.Assert(
_hasDiagnosticSuppressors
);