4 references to s_syntaxRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (4)
169
dotnet_diagnostic.{DisabledByDefaultAnalyzer.
s_syntaxRule
.Id}.severity = warning
196
if (diagnostic.Id == DisabledByDefaultAnalyzer.
s_syntaxRule
.Id)
935
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
s_syntaxRule
, s_semanticRule, s_compilationRule);
939
context.RegisterSyntaxTreeAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_syntaxRule
, c.Tree.GetRoot().GetLocation())));