38 references to Method
System.Activities (9)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
1073return Expression.MakeUnary(unary.NodeType, expr1, unary.Type, unary.Method); 1083return Expression.UnaryPlus(expr1, unaryPlus.Method);
System\Activities\Expressions\ExpressionServices.cs (4)
983if (unaryExpressionBody.Method != null) 1188if (!unaryExpression.Method.IsStatic) 1202MethodName = unaryExpression.Method.Name, 1203TargetType = unaryExpression.Method.DeclaringType,
System\Activities\Expressions\UnaryExpressionHelper.cs (1)
35Expression expressionToCompile = OperatorPermissionHelper.InjectReflectionPermissionIfNecessary(unaryExpression.Method, unaryExpression);
System\Activities\ExpressionUtilities.cs (2)
1150unaryExpression.Method); 1163unaryExpression.Method);
System.Core (19)
Microsoft\Scripting\Actions\DynamicObject.cs (1)
496Debug.Assert(convert.Method == null);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
446public MethodInfo Method { get { return _node.Method; } }
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
631if (before != after && before.Method == null) { 632if (after.Method != null) { 633throw Error.MustRewriteWithoutMethod(after.Method, "VisitUnary");
Microsoft\Scripting\Ast\UnaryExpression.cs (4)
287return Expression.MakeUnary(NodeType, operand, Type, Method); 367ValidateParamswithOperandsOrThrow(u.Method.GetParametersCached()[0].ParameterType, operand.Type, unaryType, name); 495/// <param name="method">A <see cref="MethodInfo"></see> to set the <see cref="UnaryExpression.Method"></see> property equal to.</param> 496/// <returns>A <see cref="UnaryExpression"></see> that has the <see cref="Expression.NodeType"></see> property equal to <see cref="ExpressionType.UnaryPlus"></see> and the <see cref="UnaryExpression.Operand"></see> and <see cref="UnaryExpression.Method"></see>property set to the specified value.</returns>
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (1)
511if (node.Method != null) {
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (6)
79if (node.Method != null) { 284if (node.Method != null) { 302ParameterInfo[] pis = node.Method.GetParametersCached(); 311node.Method, 338MethodCallExpression mc = Expression.Call(node.Method, v); 344EmitMethodCallExpression(Expression.Call(node.Method, node.Operand), flags);
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
566RequireNoRefArgs(node.Method); 570expr = new UnaryExpression(node.NodeType, expression.Node, node.Type, node.Method);
System\Linq\Expressions\ExpressionVisitor.cs (1)
111return Expression.MakeUnary(u.NodeType, operand, u.Type, u.Method);
System.Data.Entity (1)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (1)
128return Expression.MakeUnary(u.NodeType, operand, u.Type, u.Method);
System.Data.Linq (5)
SqlClient\Query\Funcletizer.cs (1)
242return Expression.MakeUnary(u.NodeType, operand, u.Type, u.Method);
SqlClient\Query\QueryConverter.cs (4)
686if (c.Method != null) { 688return sql.MethodCall(c.Type, c.Method, null, new SqlExpression[] { exp }, dominatingExpression); 1269if (u.Method != null) { 1270return sql.MethodCall(u.Type, u.Method, null, new SqlExpression[] { exp }, dominatingExpression);
System.Data.Services (3)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
221return Expression.MakeUnary(u.NodeType, operand, u.Type, u.Method);
System\Data\Services\Parsing\RequestQueryParser.cs (2)
1241return ((UnaryExpression)input).Method != null && ((UnaryExpression)input).Method.DeclaringType == typeof(OpenTypeMethods);
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
221return Expression.MakeUnary(u.NodeType, operand, u.Type, u.Method);