3 references to s_syntaxRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
314
Assert.Equal(OpenFileOnlyAnalyzer.
s_syntaxRule
.Id, diagnostics[0].Id);
1279
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
s_syntaxRule
);
1282
=> context.RegisterSyntaxTreeAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_syntaxRule
, c.Tree.GetRoot().GetLocation())));