2 references to s_compilationRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
919
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule, s_semanticRule,
s_compilationRule
);
925
context.RegisterCompilationAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_compilationRule
, c.Compilation.SyntaxTrees.First().GetRoot().GetLocation())));