4 references to s_compilationRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (4)
171
dotnet_diagnostic.{DisabledByDefaultAnalyzer.
s_compilationRule
.Id}.severity = warning";
204
else if (diagnostic.Id == DisabledByDefaultAnalyzer.
s_compilationRule
.Id)
935
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule, s_semanticRule,
s_compilationRule
);
941
context.RegisterCompilationAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_compilationRule
, c.Compilation.SyntaxTrees.First().GetRoot().GetLocation())));