1 write to SuppressionDescriptor
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2162
SuppressionDescriptor
= new SuppressionDescriptor(
36 references to SuppressionDescriptor
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (21)
CommandLineTests.cs (21)
12576
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
12578
suppressor.
SuppressionDescriptor
.Id,
12579
suppressor.
SuppressionDescriptor
.Justification);
12616
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
12618
suppressor.
SuppressionDescriptor
.Id,
12619
suppressor.
SuppressionDescriptor
.Justification);
12672
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
12674
suppressor.
SuppressionDescriptor
.Id,
12675
suppressor.
SuppressionDescriptor
.Justification);
12740
precedenceInversionWarningSuppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
12742
precedenceInversionWarningSuppressor.
SuppressionDescriptor
.Id,
12743
precedenceInversionWarningSuppressor.
SuppressionDescriptor
.Justification);
12840
partialStructWarningSuppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
12842
partialStructWarningSuppressor.
SuppressionDescriptor
.Id,
12843
partialStructWarningSuppressor.
SuppressionDescriptor
.Justification);
12950
partialStructWarningSuppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
12952
partialStructWarningSuppressor.
SuppressionDescriptor
.Id,
12953
partialStructWarningSuppressor.
SuppressionDescriptor
.Justification);
13074
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
13076
suppressor.
SuppressionDescriptor
.Id,
13077
suppressor.
SuppressionDescriptor
.Justification);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\DiagnosticSuppressorTests.cs (3)
645
Assert.Equal(suppressor.
SuppressionDescriptor
.Justification, suppression.Descriptor.Justification);
658
Assert.Equal(suppressor.
SuppressionDescriptor
.Justification, orderedSuppressions[0].Descriptor.Justification);
660
Assert.Equal(suppressor2.
SuppressionDescriptor
.Justification, orderedSuppressions[1].Descriptor.Justification);
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
2169
=> ImmutableArray.Create(
SuppressionDescriptor
);
2175
Assert.Equal(
SuppressionDescriptor
.SuppressedDiagnosticId, diagnostic.Id);
2176
context.ReportSuppression(Suppression.Create(
SuppressionDescriptor
, diagnostic));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (9)
CommandLineTests.vb (9)
9792
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
9794
suppressor.
SuppressionDescriptor
.Id,
9795
suppressor.
SuppressionDescriptor
.Justification)
9849
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
9851
suppressor.
SuppressionDescriptor
.Id,
9852
suppressor.
SuppressionDescriptor
.Justification)
9909
suppressor.
SuppressionDescriptor
.SuppressedDiagnosticId,
9911
suppressor.
SuppressionDescriptor
.Id,
9912
suppressor.
SuppressionDescriptor
.Justification)