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; 943if (!_hasDiagnosticSuppressors) 956!_hasDiagnosticSuppressors) 966Debug.Assert(_hasDiagnosticSuppressors);