53 references to Method
System.Activities (7)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
726binaryExpression.Method,
System\Activities\Expressions\BinaryExpressionHelper.cs (1)
43Expression expressionToCompile = OperatorPermissionHelper.InjectReflectionPermissionIfNecessary(binaryExpression.Method, binaryExpression);
System\Activities\Expressions\ExpressionServices.cs (4)
867if (binaryExpressionBody.Method != null) 1212if (!binaryExpression.Method.IsStatic) 1226MethodName = binaryExpression.Method.Name, 1227TargetType = binaryExpression.Method.DeclaringType,
System\Activities\ExpressionUtilities.cs (1)
936binaryExpression.Method,
System.Core (38)
Microsoft\Scripting\Ast\BinaryExpression.cs (13)
129return Expression.MakeBinary(NodeType, left, right, IsLiftedToNull, Method, conversion); 200Expression r = Expression.MakeBinary(op, _left, _right, false, Method); 228Expression e2 = Expression.MakeBinary(op, Expression.MakeMemberAccess(temp1, member.Member), _right, false, Method); 282Expression op = Expression.MakeBinary(binaryOp, tempIndex, _right, false, Method); 421MethodInfo opTrueFalse = TypeUtils.GetBooleanOperator(Method.DeclaringType, opName); 439Method, 645throw Error.UserDefinedOpMustHaveValidReturnType(binaryType, b.Method.Name); 649ValidateOpAssignConversionLambda(conversion, b.Left, b.Method, b.NodeType); 650b = new OpAssignMethodConversionBinaryExpression(b.NodeType, b.Left, b.Right, b.Left.Type, b.Method, conversion); 659ParameterInfo[] pis = b.Method.GetParametersCached(); 672throw Error.UserDefinedOpMustHaveValidReturnType(binaryType, b.Method.Name); 676ValidateOpAssignConversionLambda(conversion, b.Left, b.Method, b.NodeType); 677b = new OpAssignMethodConversionBinaryExpression(b.NodeType, b.Left, b.Right, b.Left.Type, b.Method, conversion);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
46public MethodInfo Method { get { return _node.Method; } }
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
645if (before != after && before.Method == null) { 646if (after.Method != null) { 647throw Error.MustRewriteWithoutMethod(after.Method, "VisitBinary");
Microsoft\Scripting\Ast\SwitchExpression.cs (1)
268comparison = equal.Method;
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (1)
79Debug.Assert(node.NodeType == ExpressionType.ArrayIndex && node.Method == null);
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (3)
43if (b.Method != null) { 104MethodCallExpression mc = Expression.Call(null, b.Method, p1, p2); 131EmitMethodCallExpression(Expression.Call(null, b.Method, b.Left, b.Right), flags);
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (12)
96Debug.Assert(b.Method == null); 111Debug.Assert(b.Method == null); 283MethodInfo opFalse = TypeUtils.GetBooleanOperator(b.Method.DeclaringType, "op_False"); 297Debug.Assert(b.Method.IsStatic); 303_ilg.Emit(OpCodes.Call, b.Method); 323if (b.Method != null && !b.IsLiftedLogical) { 410MethodInfo opTrue = TypeUtils.GetBooleanOperator(b.Method.DeclaringType, "op_True"); 424Debug.Assert(b.Method.IsStatic); 430_ilg.Emit(OpCodes.Call, b.Method); 439if (b.Method != null && !b.IsLiftedLogical) { 526if (node.Method != null) { 584if (node.Method != null || node.IsLifted) {
Microsoft\Scripting\Compiler\StackSpiller.cs (3)
229node.Method, 255RequireNoRefArgs(node.Method); 264node.Method,
System\Linq\Expressions\ExpressionVisitor.cs (1)
124return Expression.MakeBinary(b.NodeType, left, right, b.IsLiftedToNull, b.Method);
System.Data.Entity (1)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (1)
143return Expression.MakeBinary(b.NodeType, left, right, b.IsLiftedToNull, b.Method);
System.Data.Linq (3)
SqlClient\Query\Funcletizer.cs (1)
251return Expression.MakeBinary(b.NodeType, left, right, b.IsLiftedToNull, b.Method);
SqlClient\Query\QueryConverter.cs (2)
1300if (b.Method != null) { 1301return sql.MethodCall(b.Type, b.Method, null, new SqlExpression[] { left, right }, dominatingExpression);
System.Data.Services (3)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
245return Expression.MakeBinary(b.NodeType, left, right, b.IsLiftedToNull, b.Method);
System\Data\Services\Parsing\RequestQueryParser.cs (2)
1256return ((BinaryExpression)input).Method != null && ((BinaryExpression)input).Method.DeclaringType == typeof(OpenTypeMethods);
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
245return Expression.MakeBinary(b.NodeType, left, right, b.IsLiftedToNull, b.Method);