28 references to Enum
Microsoft.CodeAnalysis.CSharp (28)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (4)
528
operators.Add(new BinaryOperatorSignature(kind | BinaryOperatorKind.
Enum
, enumType, enumType, boolean));
529
operators.Add(new BinaryOperatorSignature(kind | BinaryOperatorKind.Lifted | BinaryOperatorKind.
Enum
, nullableEnum, nullableEnum, boolean));
534
operators.Add(new BinaryOperatorSignature(kind | BinaryOperatorKind.
Enum
, enumType, enumType, enumType));
535
operators.Add(new BinaryOperatorSignature(kind | BinaryOperatorKind.Lifted | BinaryOperatorKind.
Enum
, nullableEnum, nullableEnum, nullableEnum));
Binder\Semantics\Operators\OperatorKind.cs (20)
469
EnumSubtraction =
Enum
| Subtraction,
482
LiftedEnumSubtraction = Lifted |
Enum
| Subtraction,
551
EnumEqual =
Enum
| Equal,
564
LiftedEnumEqual = Lifted |
Enum
| Equal,
582
EnumNotEqual =
Enum
| NotEqual,
595
LiftedEnumNotEqual = Lifted |
Enum
| NotEqual,
612
EnumLessThan =
Enum
| LessThan,
623
LiftedEnumLessThan = Lifted |
Enum
| LessThan,
637
EnumGreaterThan =
Enum
| GreaterThan,
648
LiftedEnumGreaterThan = Lifted |
Enum
| GreaterThan,
662
EnumLessThanOrEqual =
Enum
| LessThanOrEqual,
673
LiftedEnumLessThanOrEqual = Lifted |
Enum
| LessThanOrEqual,
687
EnumGreaterThanOrEqual =
Enum
| GreaterThanOrEqual,
698
LiftedEnumGreaterThanOrEqual = Lifted |
Enum
| GreaterThanOrEqual,
709
EnumAnd =
Enum
| And,
718
LiftedEnumAnd = Lifted |
Enum
| And,
734
EnumOr =
Enum
| Or,
743
LiftedEnumOr = Lifted |
Enum
| Or,
759
EnumXor =
Enum
| Xor,
768
LiftedEnumXor = Lifted |
Enum
| Xor,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
272
case BinaryOperatorKind.
Enum
:
297
case BinaryOperatorKind.
Enum
:
CodeGen\EmitOperators.cs (1)
784
case BinaryOperatorKind.
Enum
:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
507
case BinaryOperatorKind.
Enum
: