3 references to RuleBoth
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideMethodsOnComparableTypes.cs (3)
61
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
RuleBoth
, RuleEquals, RuleOperator);
94
!context.Options.MatchesConfiguredVisibility(
RuleBoth
, namedTypeSymbol, context.Compilation))
106
context.ReportDiagnostic(namedTypeSymbol.CreateDiagnostic(
RuleBoth
, namedTypeSymbol.Name, comparisonOperatorsString));