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)
12578suppressor.SuppressionDescriptor.Id, 12618suppressor.SuppressionDescriptor.Id, 12674suppressor.SuppressionDescriptor.Id, 12742precedenceInversionWarningSuppressor.SuppressionDescriptor.Id, 12842partialStructWarningSuppressor.SuppressionDescriptor.Id, 12952partialStructWarningSuppressor.SuppressionDescriptor.Id, 13076suppressor.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)
9795suppressor.SuppressionDescriptor.Id, 9852suppressor.SuppressionDescriptor.Id, 9912suppressor.SuppressionDescriptor.Id,