3 references to ValidForEnumAndUnderlyingType
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (3)
866
? info.typeRaw2 == info.typeRaw1.UnderlyingEnumType && info.
ValidForEnumAndUnderlyingType
()
881
info.
ValidForEnumAndUnderlyingType
() && CanConvertArg2(info, info.typeRaw1.UnderlyingEnumType, out grflt, out typeSig1, out typeSig2);
886
info.
ValidForEnumAndUnderlyingType
() && CanConvertArg1(info, info.typeRaw2.UnderlyingEnumType, out grflt, out typeSig1, out typeSig2);