3 references to s_syntaxRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
1209
syntax |= diagnostics[0].Id == Analyzer.
s_syntaxRule
.Id;
1249
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
s_syntaxRule
, s_semanticRule, s_compilationRule);
1253
context.RegisterSyntaxTreeAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_syntaxRule
, c.Tree.GetRoot().GetLocation())));