18 references to Enum
Microsoft.CodeAnalysis.CSharp (18)
Binder\Semantics\Operators\OperatorKind.cs (11)
88EnumPostfixIncrement = Enum | PostfixIncrement, 104LiftedEnumPostfixIncrement = Lifted | Enum | PostfixIncrement, 123EnumPrefixIncrement = Enum | PrefixIncrement, 139LiftedEnumPrefixIncrement = Lifted | Enum | PrefixIncrement, 158EnumPostfixDecrement = Enum | PostfixDecrement, 174LiftedEnumPostfixDecrement = Lifted | Enum | PostfixDecrement, 193EnumPrefixDecrement = Enum | PrefixDecrement, 209LiftedEnumPrefixDecrement = Lifted | Enum | PrefixDecrement, 264EnumBitwiseComplement = Enum | BitwiseComplement, 272LiftedEnumBitwiseComplement = Lifted | Enum | BitwiseComplement, 312Enum = UnaryOperatorKind.Enum,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
112case UnaryOperatorKind.Enum: 283return kind.OperandTypes() == UnaryOperatorKind.Enum;
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
317operators.Add(new UnaryOperatorSignature(kind | UnaryOperatorKind.Enum, enumType, enumType)); 318operators.Add(new UnaryOperatorSignature(kind | UnaryOperatorKind.Lifted | UnaryOperatorKind.Enum, nullableEnum, nullableEnum));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1185if (node.OperatorKind.OperandTypes() == UnaryOperatorKind.Enum && (opKind & UnaryOperatorKind.Lifted) != 0)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
904if (kind == UnaryOperatorKind.Enum) 1016case UnaryOperatorKind.Enum: