10 references to GetNullableType
System.Core (10)
Microsoft\Scripting\Ast\BinaryExpression.cs (2)
604return new MethodBinaryExpression(binaryType, left, right, TypeUtils.GetNullableType(method.ReturnType), method); 632return new MethodBinaryExpression(binaryType, left, right, TypeUtils.GetNullableType(method.ReturnType), method);
Microsoft\Scripting\Ast\UnaryExpression.cs (2)
387return new UnaryExpression(unaryType, operand, TypeUtils.GetNullableType(method.ReturnType), method); 407return new UnaryExpression(unaryType, operand, TypeUtils.GetNullableType(method.ReturnType), method);
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (2)
107resultType = TypeUtils.GetNullableType(mc.Type); 122resultType = TypeUtils.GetNullableType(mc.Type);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
983if (TypeUtils.AreEquivalent(resultType, TypeUtils.GetNullableType(mc.Type))) { 1010if (TypeUtils.AreEquivalent(resultType, TypeUtils.GetNullableType(mc.Type))) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
221result = TypeUtils.GetNullableType(result);
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (1)
340Type resultType = TypeUtils.GetNullableType(mc.Type);