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