1 write to _helper
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.UnmanagedHelper.cs (1)
107
_helper
= helper;
8 references to _helper
Microsoft.CodeAnalysis.NetAnalyzers (8)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.UnmanagedHelper.cs (8)
130
parameter = new UnmanagedConstantExpectedParameter(parameterSymbol, minValue, maxValue,
_helper
);
140
if (ac.Min is not null &&
_helper
.TryTransformMin(ac.Min, out minValue, ref errorFlags))
142
if (
_helper
.IsLessThan(minValue, typeMin) ||
_helper
.IsLessThan(typeMax, minValue))
148
if (ac.Max is not null &&
_helper
.TryTransformMax(ac.Max, out maxValue, ref errorFlags))
150
if (
_helper
.IsLessThan(maxValue, typeMin) ||
_helper
.IsLessThan(typeMax, maxValue))
161
if (
_helper
.IsLessThan(maxValue, minValue))