2 references to ConstantInvalidConstantRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (2)
121
CA1857.ConstantOutOfBoundsRule, CA1857.
ConstantInvalidConstantRule
,
489
protected Diagnostic CreateConstantInvalidConstantRuleDiagnostic(IArgumentOperation argument) => argument.CreateDiagnostic(CA1857.
ConstantInvalidConstantRule
, Parameter.Type.ToDisplayString());