1 write to Max
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.UnmanagedHelper.cs (1)
177
Max
= max;
5 references to Max
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.UnmanagedHelper.cs (5)
193
if (!_helper.IsLessThan(subsetCandidateTParameter.Min, Min) && !_helper.IsLessThan(
Max
, subsetCandidateTParameter.
Max
))
200
validationDiagnostics = CreateConstantOutOfBoundsRuleDiagnostic(argument, Min.ToString(),
Max
.ToString());
213
if (!_helper.IsLessThan(value, Min) && !_helper.IsLessThan(
Max
, value))
219
validationDiagnostics = CreateConstantOutOfBoundsRuleDiagnostic(argument, Min.ToString(),
Max
.ToString());