1 using System.Collections.ObjectModel;
2 using System.Reflection;
5 namespace System.Linq.Expressions
7 public sealed class MethodCallExpression : Expression
10 internal MethodCallExpression(ExpressionType type, MethodInfo method, Expression obj, ReadOnlyCollection<Expression> arguments)
11 : base(type, method.ReturnType)
15 this.arguments = arguments;
20 private ReadOnlyCollection<Expression> arguments;
21 private MethodInfo method;
22 private Expression obj;
26 public ReadOnlyCollection<Expression> Arguments
28 get { return arguments; }
31 public MethodInfo Method
33 get { return method; }
36 public Expression Object
42 #region Internal Methods
43 internal override void BuildString(StringBuilder builder)