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