57 references to LiftFlags
Microsoft.CSharp (57)
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpSig.cs (10)
56
private readonly
LiftFlags
_grflt;
61
LiftFlags
grflt, BinOpFuncKind fnkind)
92
_grflt =
LiftFlags
.None;
102
if (_grflt ==
LiftFlags
.None)
108
Debug.Assert(((_grflt &
LiftFlags
.Lift1) == 0) || ((_grflt &
LiftFlags
.Convert1) == 0));
109
Debug.Assert(((_grflt &
LiftFlags
.Lift2) == 0) || ((_grflt &
LiftFlags
.Convert2) == 0));
116
return (_grflt &
LiftFlags
.Convert1) != 0;
121
return (_grflt &
LiftFlags
.Convert2) != 0;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (38)
222
LiftFlags
grflt =
LiftFlags
.None;
259
grflt |=
LiftFlags
.Convert1;
263
grflt |=
LiftFlags
.Lift1;
286
grflt |=
LiftFlags
.Convert1;
290
grflt |=
LiftFlags
.Lift1;
344
grflt |=
LiftFlags
.Convert2;
348
grflt |=
LiftFlags
.Lift2;
371
grflt |=
LiftFlags
.Convert2;
375
grflt |=
LiftFlags
.Lift2;
384
if (grflt !=
LiftFlags
.None)
720
prgbofs.Add(new BinOpFullSig(info.type1, info.type2, BindDelBinOp, OpSigFlags.Reference,
LiftFlags
.None, BinOpFuncKind.DelBinOp));
733
prgbofs.Add(new BinOpFullSig(info.type2, info.type2, BindDelBinOp, OpSigFlags.Reference,
LiftFlags
.None, BinOpFuncKind.DelBinOp));
738
prgbofs.Add(new BinOpFullSig(info.type1, info.type1, BindDelBinOp, OpSigFlags.Reference,
LiftFlags
.None, BinOpFuncKind.DelBinOp));
751
private bool CanConvertArg1(BinOpArgInfo info, CType typeDst, out
LiftFlags
pgrflt,
759
pgrflt =
LiftFlags
.None;
762
pgrflt =
LiftFlags
.None;
766
pgrflt =
LiftFlags
.Convert1;
772
pgrflt |=
LiftFlags
.Lift2;
787
private bool CanConvertArg2(BinOpArgInfo info, CType typeDst, out
LiftFlags
pgrflt,
795
pgrflt =
LiftFlags
.None;
798
pgrflt =
LiftFlags
.None;
802
pgrflt =
LiftFlags
.Convert2;
808
pgrflt |=
LiftFlags
.Lift1;
826
LiftFlags
grflt =
LiftFlags
.None;
833
grflt |=
LiftFlags
.Lift1;
844
grflt |=
LiftFlags
.Lift2;
873
LiftFlags
grflt =
LiftFlags
.None;
966
typeDel, typeDel, BindDelBinOp, OpSigFlags.Convert,
LiftFlags
.None,
1038
prgbofs.Add(new BinOpFullSig(typeCls, typeCls, BindRefCmpOp, OpSigFlags.None,
LiftFlags
.None, BinOpFuncKind.RefCmpOp));
1352
LiftFlags
.None,
1362
LiftFlags
.None,
1505
LiftFlags
grflt =
LiftFlags
.None;
1510
grflt |=
LiftFlags
.Convert1;
1514
grflt |=
LiftFlags
.Lift1;
Microsoft\CSharp\RuntimeBinder\Semantics\UnaOpSig.cs (9)
35
private readonly
LiftFlags
_grflt;
38
public UnaOpFullSig(CType type, PfnBindUnaOp pfn,
LiftFlags
grflt, UnaOpFuncKind fnkind)
64
_grflt =
LiftFlags
.None;
73
Debug.Assert((_grflt &
LiftFlags
.Lift2) == 0);
74
Debug.Assert((_grflt &
LiftFlags
.Convert2) == 0);
75
if (_grflt ==
LiftFlags
.None)
80
Debug.Assert(((_grflt &
LiftFlags
.Lift1) == 0) || ((_grflt &
LiftFlags
.Convert1) == 0));
85
return (_grflt &
LiftFlags
.Convert1) != 0;