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