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