System\Activities\Expressions\ExpressionServices.cs (14)
36TryConvert<TResult>(expression.Body, true, out result);
49return TryConvert<TResult>(expression.Body, false, out result) == null;
273string operandError = TryConvert<TOperand>(methodCallExpressionBody.Object, throwOnError, out operand);
327string errorString = TryConvert<Array>(methodCallExpression.Object, throwOnError, out operand);
475string arrayError = TryConvert<TResult[]>(binaryExpression.Left, throwOnError, out array);
482string indexError = TryConvert<int>(binaryExpression.Right, throwOnError, out index);
829string arrayError = TryConvert<TResult[]>(binaryExpression.Left, throwOnError, out array);
836string indexError = TryConvert<int>(binaryExpression.Right, throwOnError, out index);
855string leftError = TryConvert<TLeft>(binaryExpressionBody.Left, throwOnError, out left);
861string rightError = TryConvert<TRight>(binaryExpressionBody.Right, throwOnError, out right);
977string operandError = TryConvert<TOperand>(unaryExpressionBody.Operand, throwOnError, out operand);
1039string operandError = TryConvert<TOperand>(memberExpressionBody.Expression, throwOnError, out operand);
1106string operandError = TryConvert<TOperand>(memberExpressionBody.Expression, throwOnError, out operand);
1391error = TryConvert<TArgument>(expression, throwOnError, out argument);