Files
mono/mcs/class/System.Core/System.Linq.Expressions/MethodCallExpression.cs
T
Miguel de Icaza 7a419ba406 command line options, and dos2unix
svn path=/trunk/mcs/; revision=74904
2007-03-23 19:11:16 +00:00

49 lines
1.2 KiB
C#

using System.Collections.ObjectModel;
using System.Reflection;
using System.Text;
namespace System.Linq.Expressions
{
public sealed class MethodCallExpression : Expression
{
#region .ctor
internal MethodCallExpression(ExpressionType type, MethodInfo method, Expression obj, ReadOnlyCollection<Expression> arguments)
: base(type, method.ReturnType)
{
this.obj = obj;
this.method = method;
this.arguments = arguments;
}
#endregion
#region Fields
private ReadOnlyCollection<Expression> arguments;
private MethodInfo method;
private Expression obj;
#endregion
#region Properties
public ReadOnlyCollection<Expression> Arguments
{
get { return arguments; }
}
public MethodInfo Method
{
get { return method; }
}
public Expression Object
{
get { return obj; }
}
#endregion
#region Internal Methods
internal override void BuildString(StringBuilder builder)
{
//TODO:
}
#endregion
}
}