14 references to LiftingResult
Microsoft.CodeAnalysis.CSharp (14)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (14)
1029LiftingResult lifting = UserDefinedBinaryOperatorCanBeLifted(leftOperandType, rightOperandType, resultType, kind);
1031if (lifting == LiftingResult.LiftOperandsAndResult)
1037else if (lifting == LiftingResult.LiftOperandsButNotResult)
1055private static LiftingResult UserDefinedBinaryOperatorCanBeLifted(TypeSymbol left, TypeSymbol right, TypeSymbol result, BinaryOperatorKind kind)
1075return LiftingResult.NotLifted;
1084if (!TypeSymbol.Equals(left, right, TypeCompareKind.ConsiderEverything2)) return LiftingResult.NotLifted;
1091LiftingResult.LiftOperandsButNotResult :
1092LiftingResult.NotLifted;
1095LiftingResult.LiftOperandsAndResult :
1096LiftingResult.NotLifted;
1556LiftingResult lifting = UserDefinedBinaryOperatorCanBeLifted(leftOperandType, rightOperandType, resultType, kind);
1557Debug.Assert(lifting is LiftingResult.LiftOperandsAndResult or LiftingResult.LiftOperandsButNotResult);
1563lifting == LiftingResult.LiftOperandsButNotResult ? resultType : MakeNullable(resultType),