14 references to LiftingResult
Microsoft.CodeAnalysis.CSharp (14)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (14)
1021LiftingResult lifting = UserDefinedBinaryOperatorCanBeLifted(leftOperandType, rightOperandType, resultType, kind);
1023if (lifting == LiftingResult.LiftOperandsAndResult)
1029else if (lifting == LiftingResult.LiftOperandsButNotResult)
1047private static LiftingResult UserDefinedBinaryOperatorCanBeLifted(TypeSymbol left, TypeSymbol right, TypeSymbol result, BinaryOperatorKind kind)
1067return LiftingResult.NotLifted;
1076if (!TypeSymbol.Equals(left, right, TypeCompareKind.ConsiderEverything2)) return LiftingResult.NotLifted;
1083LiftingResult.LiftOperandsButNotResult :
1084LiftingResult.NotLifted;
1087LiftingResult.LiftOperandsAndResult :
1088LiftingResult.NotLifted;
1554LiftingResult lifting = UserDefinedBinaryOperatorCanBeLifted(leftOperandType, rightOperandType, resultType, kind);
1555Debug.Assert(lifting is LiftingResult.LiftOperandsAndResult or LiftingResult.LiftOperandsButNotResult);
1561lifting == LiftingResult.LiftOperandsButNotResult ? resultType : MakeNullable(resultType),