30 references to BinOpMask
Microsoft.CSharp (30)
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpArgInfo.cs (5)
40
public
BinOpMask
mask;
44
return (mask &
BinOpMask
.Delegate) != 0;
49
return (mask &
BinOpMask
.EnumUnder) != 0;
54
return (mask &
BinOpMask
.UnderEnum) != 0;
59
return (mask &
BinOpMask
.Enum) != 0;
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpSig.cs (3)
19
BinOpMask
mask, int cbosSkip, PfnBindBinOp pfn, OpSigFlags grfos, BinOpFuncKind fnkind)
31
public
BinOpMask
mask;
64
this.mask =
BinOpMask
.None;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (22)
85
new BinOpSig (PredefinedType.PT_INT, PredefinedType.PT_INT,
BinOpMask
.Integer, 8, BindIntBinOp, OpSigFlags.Value, BinOpFuncKind.IntBinOp ),
86
new BinOpSig (PredefinedType.PT_UINT, PredefinedType.PT_UINT,
BinOpMask
.Integer, 7, BindIntBinOp, OpSigFlags.Value, BinOpFuncKind.IntBinOp ),
87
new BinOpSig (PredefinedType.PT_LONG, PredefinedType.PT_LONG,
BinOpMask
.Integer, 6, BindIntBinOp, OpSigFlags.Value, BinOpFuncKind.IntBinOp ),
88
new BinOpSig (PredefinedType.PT_ULONG, PredefinedType.PT_ULONG,
BinOpMask
.Integer, 5, BindIntBinOp, OpSigFlags.Value, BinOpFuncKind.IntBinOp ),
90
new BinOpSig (PredefinedType.PT_ULONG, PredefinedType.PT_LONG,
BinOpMask
.Integer, 4, null, OpSigFlags.Value, BinOpFuncKind.None ),
92
new BinOpSig (PredefinedType.PT_LONG, PredefinedType.PT_ULONG,
BinOpMask
.Integer, 3, null, OpSigFlags.Value, BinOpFuncKind.None ),
93
new BinOpSig (PredefinedType.PT_FLOAT, PredefinedType.PT_FLOAT,
BinOpMask
.Real, 1, BindRealBinOp, OpSigFlags.Value, BinOpFuncKind.RealBinOp ),
94
new BinOpSig (PredefinedType.PT_DOUBLE, PredefinedType.PT_DOUBLE,
BinOpMask
.Real, 0, BindRealBinOp, OpSigFlags.Value, BinOpFuncKind.RealBinOp ),
95
new BinOpSig (PredefinedType.PT_DECIMAL, PredefinedType.PT_DECIMAL,
BinOpMask
.Real, 0, BindDecBinOp, OpSigFlags.Value, BinOpFuncKind.DecBinOp ),
96
new BinOpSig (PredefinedType.PT_STRING, PredefinedType.PT_STRING,
BinOpMask
.Equal, 0, BindStrCmpOp, OpSigFlags.Reference, BinOpFuncKind.StrCmpOp ),
97
new BinOpSig (PredefinedType.PT_STRING, PredefinedType.PT_STRING,
BinOpMask
.Add, 2, BindStrBinOp, OpSigFlags.Reference, BinOpFuncKind.StrBinOp ),
98
new BinOpSig (PredefinedType.PT_STRING, PredefinedType.PT_OBJECT,
BinOpMask
.Add, 1, BindStrBinOp, OpSigFlags.Reference, BinOpFuncKind.StrBinOp ),
99
new BinOpSig (PredefinedType.PT_OBJECT, PredefinedType.PT_STRING,
BinOpMask
.Add, 0, BindStrBinOp, OpSigFlags.Reference, BinOpFuncKind.StrBinOp ),
100
new BinOpSig (PredefinedType.PT_INT, PredefinedType.PT_INT,
BinOpMask
.Shift, 3, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ),
101
new BinOpSig (PredefinedType.PT_UINT, PredefinedType.PT_INT,
BinOpMask
.Shift, 2, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ),
102
new BinOpSig (PredefinedType.PT_LONG, PredefinedType.PT_INT,
BinOpMask
.Shift, 1, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ),
103
new BinOpSig (PredefinedType.PT_ULONG, PredefinedType.PT_INT,
BinOpMask
.Shift, 0, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ),
104
new BinOpSig (PredefinedType.PT_BOOL, PredefinedType.PT_BOOL,
BinOpMask
.BoolNorm, 0, BindBoolBinOp, OpSigFlags.Value, BinOpFuncKind.BoolBinOp ),
107
new BinOpSig (PredefinedType.PT_BOOL, PredefinedType.PT_BOOL,
BinOpMask
.Logical, 0, BindBoolBinOp, OpSigFlags.BoolBit, BinOpFuncKind.BoolBinOp ),
108
new BinOpSig (PredefinedType.PT_BOOL, PredefinedType.PT_BOOL,
BinOpMask
.Bitwise, 0, BindLiftedBoolBitwiseOp, OpSigFlags.BoolBit, BinOpFuncKind.BoolBitwiseOp ),
497
info.mask = (
BinOpMask
)(1 << (int)info.binopKind);
913
if (info.mask !=
BinOpMask
.Equal)