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