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