47 references to PrefixIncrement
Microsoft.CodeAnalysis.CSharp (47)
Binder\Binder_Operators.cs (1)
3017
case SyntaxKind.PreIncrementExpression: return UnaryOperatorKind.
PrefixIncrement
;
Binder\Semantics\Operators\OperatorFacts.cs (1)
178
case UnaryOperatorKind.
PrefixIncrement
: return isChecked ? WellKnownMemberNames.CheckedIncrementOperatorName : WellKnownMemberNames.IncrementOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (34)
109
SBytePrefixIncrement = SByte |
PrefixIncrement
,
110
BytePrefixIncrement = Byte |
PrefixIncrement
,
111
ShortPrefixIncrement = Short |
PrefixIncrement
,
112
UShortPrefixIncrement = UShort |
PrefixIncrement
,
113
IntPrefixIncrement = Int |
PrefixIncrement
,
114
UIntPrefixIncrement = UInt |
PrefixIncrement
,
115
LongPrefixIncrement = Long |
PrefixIncrement
,
116
ULongPrefixIncrement = ULong |
PrefixIncrement
,
117
NIntPrefixIncrement = NInt |
PrefixIncrement
,
118
NUIntPrefixIncrement = NUInt |
PrefixIncrement
,
119
CharPrefixIncrement = Char |
PrefixIncrement
,
120
FloatPrefixIncrement = Float |
PrefixIncrement
,
121
DoublePrefixIncrement = Double |
PrefixIncrement
,
122
DecimalPrefixIncrement = Decimal |
PrefixIncrement
,
123
EnumPrefixIncrement = Enum |
PrefixIncrement
,
124
UserDefinedPrefixIncrement = UserDefined |
PrefixIncrement
,
125
LiftedSBytePrefixIncrement = Lifted | SByte |
PrefixIncrement
,
126
LiftedBytePrefixIncrement = Lifted | Byte |
PrefixIncrement
,
127
LiftedShortPrefixIncrement = Lifted | Short |
PrefixIncrement
,
128
LiftedUShortPrefixIncrement = Lifted | UShort |
PrefixIncrement
,
129
LiftedIntPrefixIncrement = Lifted | Int |
PrefixIncrement
,
130
LiftedUIntPrefixIncrement = Lifted | UInt |
PrefixIncrement
,
131
LiftedLongPrefixIncrement = Lifted | Long |
PrefixIncrement
,
132
LiftedULongPrefixIncrement = Lifted | ULong |
PrefixIncrement
,
133
LiftedNIntPrefixIncrement = Lifted | NInt |
PrefixIncrement
,
134
LiftedNUIntPrefixIncrement = Lifted | NUInt |
PrefixIncrement
,
135
LiftedCharPrefixIncrement = Lifted | Char |
PrefixIncrement
,
136
LiftedFloatPrefixIncrement = Lifted | Float |
PrefixIncrement
,
137
LiftedDoublePrefixIncrement = Lifted | Double |
PrefixIncrement
,
138
LiftedDecimalPrefixIncrement = Lifted | Decimal |
PrefixIncrement
,
139
LiftedEnumPrefixIncrement = Lifted | Enum |
PrefixIncrement
,
140
LiftedUserDefinedPrefixIncrement = Lifted | UserDefined |
PrefixIncrement
,
141
PointerPrefixIncrement = Pointer |
PrefixIncrement
,
142
DynamicPrefixIncrement = Dynamic |
PrefixIncrement
,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
71
case UnaryOperatorKind.
PrefixIncrement
:
384
case UnaryOperatorKind.
PrefixIncrement
:
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (3)
314
case UnaryOperatorKind.
PrefixIncrement
:
338
case UnaryOperatorKind.
PrefixIncrement
:
547
case UnaryOperatorKind.
PrefixIncrement
:
Compilation\CSharpCompilation.cs (2)
4508
unaryKind is UnaryOperatorKind.
PrefixIncrement
or UnaryOperatorKind.PrefixDecrement or UnaryOperatorKind.BitwiseComplement &&
4516
unaryKind is UnaryOperatorKind.
PrefixIncrement
or UnaryOperatorKind.PrefixDecrement &&
FlowAnalysis\NullableWalker.cs (1)
10557
TypeWithState resultType = (op == UnaryOperatorKind.
PrefixIncrement
|| op == UnaryOperatorKind.PrefixDecrement) ? resultOfIncrementType : operandType;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
34
case UnaryOperatorKind.
PrefixIncrement
:
378
return op == UnaryOperatorKind.PostfixIncrement || op == UnaryOperatorKind.
PrefixIncrement
;
384
return op == UnaryOperatorKind.
PrefixIncrement
|| op == UnaryOperatorKind.PrefixDecrement;