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