2 references to ConstantOutOfBoundsRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (2)
121
CA1857.
ConstantOutOfBoundsRule
, CA1857.ConstantInvalidConstantRule,
490
protected static Diagnostic CreateConstantOutOfBoundsRuleDiagnostic(IArgumentOperation argument, string minText, string maxText) => argument.CreateDiagnostic(CA1857.
ConstantOutOfBoundsRule
, minText, maxText);