System\Data\Query\PlanCompiler\ITreeGenerator.cs (14)
1070argNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Arguments[idx]), e.Function.Parameters[idx].TypeUsage));
1184return BuildSoftCast(node, TypeUsage.Create(targetType));
1293retNode = BuildSoftCast(retNode, e.ResultType);
1320leftArg = BuildSoftCast(leftArg, commonType);
1321rightArg = BuildSoftCast(rightArg, commonType);
1514children.Add(BuildSoftCast(child, e.ResultType));
1553inputSetNode = BuildSoftCast(inputSetNode, TypeHelpers.CreateCollectionTypeUsage(e.ResultType));
1606leftNode = BuildSoftCast(leftNode, expression.ResultType);
1607rightNode = BuildSoftCast(rightNode, expression.ResultType);
1702childNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Then[idx]), e.ResultType));
1706childNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Else), e.ResultType));
2077Node newArg = BuildSoftCast(VisitExprAsScalar(e.Arguments[i]), Helper.GetModelTypeUsage(m));
2088Node newArg = BuildSoftCast(VisitExprAsScalar(arg), elementTypeUsage);
2243Node newArg = BuildSoftCast(VisitExprAsScalar(value), Helper.GetModelTypeUsage(property));