2 references to CanConvertArg1
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
885
isValidForEnum = info.ValidForEnum() &&
CanConvertArg1
(info, info.typeRaw2, out grflt, out typeSig1, out typeSig2) ||
886
info.ValidForEnumAndUnderlyingType() &&
CanConvertArg1
(info, info.typeRaw2.UnderlyingEnumType, out grflt, out typeSig1, out typeSig2);