1 override of ProgrammaticSuppressionInfo
Microsoft.CodeAnalysis (1)
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (1)
61internal override ProgrammaticSuppressionInfo ProgrammaticSuppressionInfo
8 references to ProgrammaticSuppressionInfo
Microsoft.CodeAnalysis (8)
CommandLine\CommonCompiler.cs (2)
563if (diag.ProgrammaticSuppressionInfo != null) 565foreach (var suppression in diag.ProgrammaticSuppressionInfo.Suppressions)
CommandLine\CommonCompiler.SuppressionDiagnostic.cs (1)
38Debug.Assert(originalDiagnostic.ProgrammaticSuppressionInfo != null);
CommandLine\SarifV2ErrorLogger.cs (1)
87if (diagnostic.ProgrammaticSuppressionInfo is { } programmaticSuppressionInfo)
Diagnostic\Diagnostic.cs (2)
363var programmaticSuppressions = this.ProgrammaticSuppressionInfo?.Suppressions ?? ImmutableArray<Suppression>.Empty; 470RoslynDebug.Assert(this.ProgrammaticSuppressionInfo == null);
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (1)
26RoslynDebug.Assert(originalUnsuppressedDiagnostic.ProgrammaticSuppressionInfo == null);
DiagnosticAnalyzer\Suppression.cs (1)
21Debug.Assert(suppressedDiagnostic.ProgrammaticSuppressionInfo == null);