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