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