5 references to CheckConstantBounds
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Conversions.cs (4)
3238if (!CheckConstantBounds(destinationType, sourceValue, out _)) 3247if (!CheckConstantBounds(destinationType, sourceValue, out _)) 3255if (!CheckConstantBounds(destinationType, sourceValue, out bool maySucceedAtRuntime)) 3272if (!CheckConstantBounds(destinationType, sourceValue, out _))
Lowering\DiagnosticsPass_Warnings.cs (1)
452if (!Binder.CheckConstantBounds(conversion.Operand.Type.SpecialType, constantValue, out _))