60 references to Subtraction
Microsoft.CodeAnalysis.CSharp (60)
Binder\Binder_Operators.cs (4)
39
case BinaryOperatorKind.
Subtraction
:
260
Debug.Assert(opKind == BinaryOperatorKind.Addition || opKind == BinaryOperatorKind.
Subtraction
);
1753
case BinaryOperatorKind.
Subtraction
:
2240
case SyntaxKind.SubtractExpression: return BinaryOperatorKind.
Subtraction
;
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (5)
316
case BinaryOperatorKind.
Subtraction
:
350
case BinaryOperatorKind.
Subtraction
:
489
case BinaryOperatorKind.
Subtraction
:
560
case BinaryOperatorKind.
Subtraction
:
639
case BinaryOperatorKind.
Subtraction
:
Binder\Semantics\Operators\OperatorFacts.cs (1)
207
case BinaryOperatorKind.
Subtraction
: return isChecked ? WellKnownMemberNames.CheckedSubtractionOperatorName : WellKnownMemberNames.SubtractionOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (33)
460
IntSubtraction = Int |
Subtraction
,
461
UIntSubtraction = UInt |
Subtraction
,
462
LongSubtraction = Long |
Subtraction
,
463
ULongSubtraction = ULong |
Subtraction
,
464
NIntSubtraction = NInt |
Subtraction
,
465
NUIntSubtraction = NUInt |
Subtraction
,
466
FloatSubtraction = Float |
Subtraction
,
467
DoubleSubtraction = Double |
Subtraction
,
468
DecimalSubtraction = Decimal |
Subtraction
,
469
EnumSubtraction = Enum |
Subtraction
,
470
EnumAndUnderlyingSubtraction = EnumAndUnderlying |
Subtraction
,
471
UnderlyingAndEnumSubtraction = UnderlyingAndEnum |
Subtraction
,
472
UserDefinedSubtraction = UserDefined |
Subtraction
,
473
LiftedIntSubtraction = Lifted | Int |
Subtraction
,
474
LiftedUIntSubtraction = Lifted | UInt |
Subtraction
,
475
LiftedLongSubtraction = Lifted | Long |
Subtraction
,
476
LiftedULongSubtraction = Lifted | ULong |
Subtraction
,
477
LiftedNIntSubtraction = Lifted | NInt |
Subtraction
,
478
LiftedNUIntSubtraction = Lifted | NUInt |
Subtraction
,
479
LiftedFloatSubtraction = Lifted | Float |
Subtraction
,
480
LiftedDoubleSubtraction = Lifted | Double |
Subtraction
,
481
LiftedDecimalSubtraction = Lifted | Decimal |
Subtraction
,
482
LiftedEnumSubtraction = Lifted | Enum |
Subtraction
,
483
LiftedEnumAndUnderlyingSubtraction = Lifted | EnumAndUnderlying |
Subtraction
,
484
LiftedUnderlyingAndEnumSubtraction = Lifted | UnderlyingAndEnum |
Subtraction
,
485
LiftedUserDefinedSubtraction = Lifted | UserDefined |
Subtraction
,
486
DelegateRemoval = Delegate |
Subtraction
,
487
PointerAndIntSubtraction = PointerAndInt |
Subtraction
,
488
PointerAndUIntSubtraction = PointerAndUInt |
Subtraction
,
489
PointerAndLongSubtraction = PointerAndLong |
Subtraction
,
490
PointerAndULongSubtraction = PointerAndULong |
Subtraction
,
491
PointerSubtraction = Pointer |
Subtraction
,
492
DynamicSubtraction = Dynamic |
Subtraction
,
Binder\Semantics\Operators\OperatorKindExtensions.cs (4)
230
case BinaryOperatorKind.
Subtraction
:
254
case BinaryOperatorKind.
Subtraction
:
344
case BinaryOperatorKind.
Subtraction
: return ExpressionType.SubtractAssign;
360
case BinaryOperatorKind.
Subtraction
: return ExpressionType.Subtract;
CodeGen\EmitOperators.cs (2)
187
case BinaryOperatorKind.
Subtraction
:
724
case BinaryOperatorKind.
Subtraction
:
Compilation\BuiltInOperators.cs (1)
709
case BinaryOperatorKind.
Subtraction
:
Compilation\CSharpCompilation.cs (5)
4312
if (binaryKind is BinaryOperatorKind.Addition or BinaryOperatorKind.
Subtraction
&&
4355
if (binaryKind is BinaryOperatorKind.Addition or BinaryOperatorKind.
Subtraction
)
4373
if (binaryKind is BinaryOperatorKind.
Subtraction
&&
4414
if (binaryKind is BinaryOperatorKind.
Subtraction
&&
4423
if (binaryKind is BinaryOperatorKind.
Subtraction
&&
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
409
case BinaryOperatorKind.
Subtraction
:
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
42
(binaryOperator == BinaryOperatorKind.Addition || binaryOperator == BinaryOperatorKind.
Subtraction
))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
735
binaryOperatorKind |= IsIncrement(node) ? BinaryOperatorKind.Addition : BinaryOperatorKind.
Subtraction
;
813
case BinaryOperatorKind.
Subtraction
: member = SpecialMember.System_Decimal__op_Decrement; break;
Operations\CSharpOperationFactory_Methods.cs (1)
554
case CSharp.BinaryOperatorKind.
Subtraction
: