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