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