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)
130parameter = new UnmanagedConstantExpectedParameter(parameterSymbol, minValue, maxValue, _helper); 140if (ac.Min is not null && _helper.TryTransformMin(ac.Min, out minValue, ref errorFlags)) 142if (_helper.IsLessThan(minValue, typeMin) || _helper.IsLessThan(typeMax, minValue)) 148if (ac.Max is not null && _helper.TryTransformMax(ac.Max, out maxValue, ref errorFlags)) 150if (_helper.IsLessThan(maxValue, typeMin) || _helper.IsLessThan(typeMax, maxValue)) 161if (_helper.IsLessThan(maxValue, minValue))