2 references to CanConvertArg2
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
880
isValidForEnum = info.ValidForEnum() &&
CanConvertArg2
(info, info.typeRaw1, out grflt, out typeSig1, out typeSig2) ||
881
info.ValidForEnumAndUnderlyingType() &&
CanConvertArg2
(info, info.typeRaw1.UnderlyingEnumType, out grflt, out typeSig1, out typeSig2);