47 references to PrefixDecrement
Microsoft.CodeAnalysis.CSharp (47)
Binder\Binder_Operators.cs (1)
3014
case SyntaxKind.PreDecrementExpression: return UnaryOperatorKind.
PrefixDecrement
;
Binder\Semantics\Operators\OperatorFacts.cs (1)
180
case UnaryOperatorKind.
PrefixDecrement
: return isChecked ? WellKnownMemberNames.CheckedDecrementOperatorName : WellKnownMemberNames.DecrementOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (34)
179
SBytePrefixDecrement = SByte |
PrefixDecrement
,
180
BytePrefixDecrement = Byte |
PrefixDecrement
,
181
ShortPrefixDecrement = Short |
PrefixDecrement
,
182
UShortPrefixDecrement = UShort |
PrefixDecrement
,
183
IntPrefixDecrement = Int |
PrefixDecrement
,
184
UIntPrefixDecrement = UInt |
PrefixDecrement
,
185
LongPrefixDecrement = Long |
PrefixDecrement
,
186
ULongPrefixDecrement = ULong |
PrefixDecrement
,
187
NIntPrefixDecrement = NInt |
PrefixDecrement
,
188
NUIntPrefixDecrement = NUInt |
PrefixDecrement
,
189
CharPrefixDecrement = Char |
PrefixDecrement
,
190
FloatPrefixDecrement = Float |
PrefixDecrement
,
191
DoublePrefixDecrement = Double |
PrefixDecrement
,
192
DecimalPrefixDecrement = Decimal |
PrefixDecrement
,
193
EnumPrefixDecrement = Enum |
PrefixDecrement
,
194
UserDefinedPrefixDecrement = UserDefined |
PrefixDecrement
,
195
LiftedSBytePrefixDecrement = Lifted | SByte |
PrefixDecrement
,
196
LiftedBytePrefixDecrement = Lifted | Byte |
PrefixDecrement
,
197
LiftedShortPrefixDecrement = Lifted | Short |
PrefixDecrement
,
198
LiftedUShortPrefixDecrement = Lifted | UShort |
PrefixDecrement
,
199
LiftedIntPrefixDecrement = Lifted | Int |
PrefixDecrement
,
200
LiftedUIntPrefixDecrement = Lifted | UInt |
PrefixDecrement
,
201
LiftedLongPrefixDecrement = Lifted | Long |
PrefixDecrement
,
202
LiftedULongPrefixDecrement = Lifted | ULong |
PrefixDecrement
,
203
LiftedNIntPrefixDecrement = Lifted | NInt |
PrefixDecrement
,
204
LiftedNUIntPrefixDecrement = Lifted | NUInt |
PrefixDecrement
,
205
LiftedCharPrefixDecrement = Lifted | Char |
PrefixDecrement
,
206
LiftedFloatPrefixDecrement = Lifted | Float |
PrefixDecrement
,
207
LiftedDoublePrefixDecrement = Lifted | Double |
PrefixDecrement
,
208
LiftedDecimalPrefixDecrement = Lifted | Decimal |
PrefixDecrement
,
209
LiftedEnumPrefixDecrement = Lifted | Enum |
PrefixDecrement
,
210
LiftedUserDefinedPrefixDecrement = Lifted | UserDefined |
PrefixDecrement
,
211
PointerPrefixDecrement = Pointer |
PrefixDecrement
,
212
DynamicPrefixDecrement = Dynamic |
PrefixDecrement
,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
73
case UnaryOperatorKind.
PrefixDecrement
:
389
case UnaryOperatorKind.
PrefixDecrement
:
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (3)
315
case UnaryOperatorKind.
PrefixDecrement
:
339
case UnaryOperatorKind.
PrefixDecrement
:
541
case UnaryOperatorKind.
PrefixDecrement
:
Compilation\CSharpCompilation.cs (2)
4483
unaryKind is UnaryOperatorKind.PrefixIncrement or UnaryOperatorKind.
PrefixDecrement
or UnaryOperatorKind.BitwiseComplement &&
4491
unaryKind is UnaryOperatorKind.PrefixIncrement or UnaryOperatorKind.
PrefixDecrement
&&
FlowAnalysis\NullableWalker.cs (1)
10499
TypeWithState resultType = (op == UnaryOperatorKind.PrefixIncrement || op == UnaryOperatorKind.
PrefixDecrement
) ? resultOfIncrementType : operandType;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
33
case UnaryOperatorKind.
PrefixDecrement
:
384
return op == UnaryOperatorKind.PrefixIncrement || op == UnaryOperatorKind.
PrefixDecrement
;
Operations\CSharpOperationFactory_Methods.cs (1)
512
case CSharp.UnaryOperatorKind.
PrefixDecrement
: