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