3 references to s_semanticRule
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
888
semantic |= diagnostic.Id == Analyzer.
s_semanticRule
.Id;
908
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_syntaxRule,
s_semanticRule
, s_compilationRule];
913
context.RegisterSemanticModelAction(c => c.ReportDiagnostic(Diagnostic.Create(
s_semanticRule
, c.SemanticModel.SyntaxTree.GetRoot().GetLocation())));