1 write to typeRaw1
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpArgInfo.cs (1)
21
typeRaw1
= type1.StripNubs();
18 references to typeRaw1
Microsoft.CSharp (18)
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpArgInfo.cs (2)
25
ptRaw1 =
typeRaw1
.IsPredefined ?
typeRaw1
.PredefinedType : PredefinedType.PT_COUNT;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (16)
789
ptypeSig1 = TypeManager.GetNullable(info.
typeRaw1
);
792
ptypeSig1 = info.
typeRaw1
;
809
if (info.type1 != info.
typeRaw1
)
813
typeSig1 = TypeManager.GetNullable(info.
typeRaw1
);
817
typeSig1 = info.
typeRaw1
;
841
if (!info.
typeRaw1
.IsEnumType && !info.typeRaw2.IsEnumType)
854
if (info.
typeRaw1
== info.typeRaw2)
865
bool isValidForEnum = info.
typeRaw1
.IsEnumType
866
? info.typeRaw2 == info.
typeRaw1
.UnderlyingEnumType && info.ValidForEnumAndUnderlyingType()
867
: info.
typeRaw1
== info.typeRaw2.UnderlyingEnumType && info.ValidForUnderlyingTypeAndEnum();
878
if (info.
typeRaw1
.IsEnumType)
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);
899
ExpressionKind.Add => info.
typeRaw1
.IsEnumType ^ info.typeRaw2.IsEnumType,
900
ExpressionKind.Subtract => info.
typeRaw1
.IsEnumType | info.typeRaw2.IsEnumType,
918
if (info.type1 != info.
typeRaw1
|| info.type2 != info.typeRaw2)