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