4 references to IsConvertible
System.Core (4)
Microsoft\Scripting\Ast\TypeUtils.cs (2)
220
if (
IsConvertible
(source) &&
IsConvertible
(dest) && GetNonNullableType(dest) != typeof(bool)) {
Microsoft\Scripting\Compiler\ILGen.cs (2)
622
} else if (!(TypeUtils.
IsConvertible
(typeFrom) && TypeUtils.
IsConvertible
(typeTo)) // primitive runtime conversion