1 write to Id
Microsoft.CodeAnalysis (1)
Diagnostic\SuppressionDescriptor.cs (1)
68this.Id = id;
20 references to Id
Microsoft.CodeAnalysis (9)
CommandLine\CommonCompiler.cs (1)
567var suppressionDiag = new SuppressionDiagnostic(diag, suppression.Descriptor.Id, suppression.Descriptor.Justification);
CommandLine\ReportAnalyzerUtil.cs (1)
108DiagnosticSuppressor suppressor => suppressor.SupportedSuppressions.Select(s => s.Id),
CommandLine\SarifV2ErrorLogger.cs (2)
90.OrderBy(suppression => suppression.Descriptor.Id) 91.Select(suppression => $"Suppression Id: {suppression.Descriptor.Id}, Suppression Justification: {suppression.Descriptor.Justification}")
Diagnostic\SuppressionDescriptor.cs (4)
82this.Id == other.Id && 94return Hash.Combine(this.Id.GetHashCode(), 109return compilationOptions.SpecificDiagnosticOptions.TryGetValue(Id, out var reportDiagnostic) &&
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
1947var message = string.Format(CodeAnalysisResources.UnsupportedSuppressionReported, suppression.Descriptor.Id);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (7)
12548suppressor.SuppressionDescriptor.Id, 12588suppressor.SuppressionDescriptor.Id, 12644suppressor.SuppressionDescriptor.Id, 12712precedenceInversionWarningSuppressor.SuppressionDescriptor.Id, 12812partialStructWarningSuppressor.SuppressionDescriptor.Id, 12922partialStructWarningSuppressor.SuppressionDescriptor.Id, 13046suppressor.SuppressionDescriptor.Id,
SarifV2ErrorLoggerTests.cs (1)
647suppressionType: $"DiagnosticSuppressor {{ Suppression Id: {SuppressorForErrorLogTest.Descriptor1.Id}, Suppression Justification: {SuppressorForErrorLogTest.Descriptor1.Justification} }}"),
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
9767suppressor.SuppressionDescriptor.Id, 9824suppressor.SuppressionDescriptor.Id, 9884suppressor.SuppressionDescriptor.Id,