27 references to UserDefined
Microsoft.CodeAnalysis.CSharp (27)
Binder\Semantics\Operators\OperatorKind.cs (19)
89UserDefinedPostfixIncrement = UserDefined | PostfixIncrement, 105LiftedUserDefinedPostfixIncrement = Lifted | UserDefined | PostfixIncrement, 124UserDefinedPrefixIncrement = UserDefined | PrefixIncrement, 140LiftedUserDefinedPrefixIncrement = Lifted | UserDefined | PrefixIncrement, 159UserDefinedPostfixDecrement = UserDefined | PostfixDecrement, 175LiftedUserDefinedPostfixDecrement = Lifted | UserDefined | PostfixDecrement, 194UserDefinedPrefixDecrement = UserDefined | PrefixDecrement, 210LiftedUserDefinedPrefixDecrement = Lifted | UserDefined | PrefixDecrement, 223UserDefinedUnaryPlus = UserDefined | UnaryPlus, 233LiftedUserDefinedUnaryPlus = Lifted | UserDefined | UnaryPlus, 242UserDefinedUnaryMinus = UserDefined | UnaryMinus, 249LiftedUserDefinedUnaryMinus = Lifted | UserDefined | UnaryMinus, 253UserDefinedLogicalNegation = UserDefined | LogicalNegation, 255LiftedUserDefinedLogicalNegation = Lifted | UserDefined | LogicalNegation, 265UserDefinedBitwiseComplement = UserDefined | BitwiseComplement, 273LiftedUserDefinedBitwiseComplement = Lifted | UserDefined | BitwiseComplement, 277UserDefinedTrue = UserDefined | True, 278UserDefinedFalse = UserDefined | False, 326UserDefined = UnaryOperatorKind.UserDefined,
Binder\Semantics\Operators\OperatorKindExtensions.cs (1)
46return (kind & UnaryOperatorKind.TypeMask) == UnaryOperatorKind.UserDefined;
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
528operators.Add(new UnaryOperatorSignature(UnaryOperatorKind.UserDefined | kind, operandType, resultType, op, constrainedToTypeOpt)); 559UnaryOperatorKind.Lifted | UnaryOperatorKind.UserDefined | kind,
Compilation\CSharpSemanticModel.cs (2)
3798if (operandType == 0 || operandType == UnaryOperatorKind.UserDefined || unaryOperator.ResultKind != LookupResultKind.Viable) 3821if (operandType == 0 || operandType == UnaryOperatorKind.UserDefined || increment.ResultKind != LookupResultKind.Viable)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
577if (node.OperatorKind.OperandTypes() == UnaryOperatorKind.UserDefined) 957case UnaryOperatorKind.UserDefined: 1057case UnaryOperatorKind.UserDefined: