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