1 write to SuppressedDiagnosticId
Microsoft.CodeAnalysis (1)
Diagnostic\SuppressionDescriptor.cs (1)
69this.SuppressedDiagnosticId = suppressedDiagnosticId;
27 references to SuppressedDiagnosticId
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
RequestDelegateGeneratorSuppressor.cs (3)
40if (diagnostic.Id != SuppressRDCDiagnostic.SuppressedDiagnosticId && diagnostic.Id != SuppressRUCDiagnostic.SuppressedDiagnosticId) 65var targetSuppression = diagnostic.Id == SuppressRUCDiagnostic.SuppressedDiagnosticId
Microsoft.CodeAnalysis (6)
Diagnostic\SuppressionDescriptor.cs (3)
83this.SuppressedDiagnosticId == other.SuppressedDiagnosticId && 95Hash.Combine(this.SuppressedDiagnosticId.GetHashCode(), this.Justification.GetHashCode()));
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1142if (supportedSuppressions.Contains(s => s.SuppressedDiagnosticId == diagnostic.Id))
DiagnosticAnalyzer\Suppression.cs (2)
23if (descriptor.SuppressedDiagnosticId != suppressedDiagnostic.Id) 26var message = string.Format(CodeAnalysisResources.InvalidDiagnosticSuppressionReported, suppressedDiagnostic.Id, descriptor.SuppressedDiagnosticId);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
12576suppressor.SuppressionDescriptor.SuppressedDiagnosticId, 12616suppressor.SuppressionDescriptor.SuppressedDiagnosticId, 12672suppressor.SuppressionDescriptor.SuppressedDiagnosticId, 12740precedenceInversionWarningSuppressor.SuppressionDescriptor.SuppressedDiagnosticId, 12840partialStructWarningSuppressor.SuppressionDescriptor.SuppressedDiagnosticId, 12950partialStructWarningSuppressor.SuppressionDescriptor.SuppressedDiagnosticId, 13074suppressor.SuppressionDescriptor.SuppressedDiagnosticId,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
917mapping.Add(descriptor.SuppressedDiagnosticId, descriptor);
Microsoft.CodeAnalysis.Test.Utilities (5)
Diagnostics\CommonDiagnosticAnalyzers.cs (5)
524var descriptor = diagnostic.Id == Descriptor1.SuppressedDiagnosticId ? Descriptor1 : Descriptor2; 2175Assert.Equal(SuppressionDescriptor.SuppressedDiagnosticId, diagnostic.Id); 2208if (suppressionDescriptor.SuppressedDiagnosticId == diagnostic.Id) 2308Assert.Equal(_unsupportedDescriptor.SuppressedDiagnosticId, diagnostic.Id); 2340Assert.Equal(_supportedDescriptor.SuppressedDiagnosticId, diagnostic.Id);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
9793suppressor.SuppressionDescriptor.SuppressedDiagnosticId, 9850suppressor.SuppressionDescriptor.SuppressedDiagnosticId, 9910suppressor.SuppressionDescriptor.SuppressedDiagnosticId,
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ShapeBreakingDiagnosticSuppressor.cs (1)
26if (diagnostic.Id == MarkMethodsAsStaticSuppression.SuppressedDiagnosticId)
Microsoft.ML.CodeAnalyzer.Tests (1)
Code\RelaxTestNamingTest.cs (1)
107public static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(RelaxTestNamingSuppressor.Rule.SuppressedDiagnosticId, "Title", "Message", "Category", DiagnosticSeverity.Warning, isEnabledByDefault: true);