43 references to UserDefined
Microsoft.CodeAnalysis.CSharp (43)
Binder\Binder_Operators.cs (1)
1106Debug.Assert(signature.Kind.OperandTypes() == BinaryOperatorKind.UserDefined);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (3)
976operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.UserDefined | kind, leftOperandType, rightOperandType, resultType, op, constrainedToTypeOpt)); 996BinaryOperatorKind.Lifted | BinaryOperatorKind.UserDefined | kind, 1002BinaryOperatorKind.Lifted | BinaryOperatorKind.UserDefined | kind,
Binder\Semantics\Operators\OperatorKind.cs (36)
364UserDefinedMultiplication = UserDefined | Multiplication, 374LiftedUserDefinedMultiplication = Lifted | UserDefined | Multiplication, 386UserDefinedDivision = UserDefined | Division, 396LiftedUserDefinedDivision = Lifted | UserDefined | Division, 408UserDefinedRemainder = UserDefined | Remainder, 418LiftedUserDefinedRemainder = Lifted | UserDefined | Remainder, 432UserDefinedAddition = UserDefined | Addition, 444LiftedUserDefinedAddition = Lifted | UserDefined | Addition, 472UserDefinedSubtraction = UserDefined | Subtraction, 485LiftedUserDefinedSubtraction = Lifted | UserDefined | Subtraction, 500UserDefinedLeftShift = UserDefined | LeftShift, 507LiftedUserDefinedLeftShift = Lifted | UserDefined | LeftShift, 516UserDefinedRightShift = UserDefined | RightShift, 523LiftedUserDefinedRightShift = Lifted | UserDefined | RightShift, 532UserDefinedUnsignedRightShift = UserDefined | UnsignedRightShift, 539LiftedUserDefinedUnsignedRightShift = Lifted | UserDefined | UnsignedRightShift, 553UserDefinedEqual = UserDefined | Equal, 565LiftedUserDefinedEqual = Lifted | UserDefined | Equal, 584UserDefinedNotEqual = UserDefined | NotEqual, 596LiftedUserDefinedNotEqual = Lifted | UserDefined | NotEqual, 613UserDefinedLessThan = UserDefined | LessThan, 624LiftedUserDefinedLessThan = Lifted | UserDefined | LessThan, 638UserDefinedGreaterThan = UserDefined | GreaterThan, 649LiftedUserDefinedGreaterThan = Lifted | UserDefined | GreaterThan, 663UserDefinedLessThanOrEqual = UserDefined | LessThanOrEqual, 674LiftedUserDefinedLessThanOrEqual = Lifted | UserDefined | LessThanOrEqual, 688UserDefinedGreaterThanOrEqual = UserDefined | GreaterThanOrEqual, 699LiftedUserDefinedGreaterThanOrEqual = Lifted | UserDefined | GreaterThanOrEqual, 711UserDefinedAnd = UserDefined | And, 720LiftedUserDefinedAnd = Lifted | UserDefined | And, 725LogicalUserDefinedAnd = UserDefined | LogicalAnd, 736UserDefinedOr = UserDefined | Or, 745LiftedUserDefinedOr = Lifted | UserDefined | Or, 750LogicalUserDefinedOr = UserDefined | LogicalOr, 761UserDefinedXor = UserDefined | Xor, 770LiftedUserDefinedXor = Lifted | UserDefined | Xor,
Binder\Semantics\Operators\OperatorKindExtensions.cs (1)
327return (kind & BinaryOperatorKind.TypeMask) == BinaryOperatorKind.UserDefined;
Compilation\CSharpSemanticModel.cs (2)
3846if (operandType == 0 || operandType == BinaryOperatorKind.UserDefined || binaryOperator.ResultKind != LookupResultKind.Viable || binaryOperator.OperatorKind.IsLogical()) 3919if (operandType == 0 || operandType == BinaryOperatorKind.UserDefined || compoundAssignment.ResultKind != LookupResultKind.Viable)