4 references to s_semanticRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (4)
168
dotnet_diagnostic.{DisabledByDefaultAnalyzer.
s_semanticRule
.Id}.severity = warning
198
else if (diagnostic.Id == DisabledByDefaultAnalyzer.
s_semanticRule
.Id)
877
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_syntaxRule,
s_semanticRule
, s_compilationRule];
882
context.RegisterSemanticModelAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_semanticRule
, c.SemanticModel.SyntaxTree.GetRoot().GetLocation())));