2 references to CheckConstantBounds
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (2)
3537
double doubleValue =
CheckConstantBounds
(destinationType, value.DoubleValue, out _) ? value.DoubleValue : 0D;
3600
CheckConstantBounds
(destinationType, (double)canonicalValue, out maySucceedAtRuntime);