3 references to s_equalityRule
Microsoft.CodeAnalysis.Analyzers (3)
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (3)
79
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
s_equalityRule
);
163
context.ReportDiagnostic(binary.Syntax.GetLocation().CreateDiagnostic(
s_equalityRule
, s_EqualityRuleProperties));
195
context.ReportDiagnostic(invocationOperation.Syntax.GetLocation().CreateDiagnostic(
s_equalityRule
, s_EqualityRuleProperties));