1 write to SuppressedDiagnostic
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\Suppression.cs (1)
20SuppressedDiagnostic = suppressedDiagnostic ?? throw new ArgumentNullException(nameof(suppressedDiagnostic));
8 references to SuppressedDiagnostic
Microsoft.CodeAnalysis (8)
Diagnostic\SuppressionInfo.cs (1)
36Debug.Assert(programmaticSuppressions.All(suppression => id == suppression.SuppressedDiagnostic.Id));
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
1158if (!programmaticSuppressionsBuilder.TryGetValue(programmaticSuppression.SuppressedDiagnostic, out var array)) 1161programmaticSuppressionsBuilder.Add(programmaticSuppression.SuppressedDiagnostic, array);
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (2)
1937if (!ReportedDiagnostics.Contains(suppression.SuppressedDiagnostic)) 1940var message = string.Format(CodeAnalysisResources.NonReportedDiagnosticCannotBeSuppressed, suppression.SuppressedDiagnostic.Id);
DiagnosticAnalyzer\Suppression.cs (3)
73&& EqualityComparer<Diagnostic>.Default.Equals(SuppressedDiagnostic, other.SuppressedDiagnostic); 80EqualityComparer<Diagnostic>.Default.GetHashCode(SuppressedDiagnostic));