5 references to CheckConstantBounds
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Conversions.cs (4)
3937if (!CheckConstantBounds(destinationType, sourceValue, out _)) 3946if (!CheckConstantBounds(destinationType, sourceValue, out _)) 3954if (!CheckConstantBounds(destinationType, sourceValue, out bool maySucceedAtRuntime)) 3971if (!CheckConstantBounds(destinationType, sourceValue, out _))
Lowering\DiagnosticsPass_Warnings.cs (1)
451if (!Binder.CheckConstantBounds(conversion.Operand.Type.SpecialType, constantValue, out _))