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