Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InstanceMethodCallExpressionN.cs
Go to the documentation of this file.
5
7
9{
11
12 public override int ArgumentCount => _arguments.Count;
13
19
20 public override Expression GetArgument(int index)
21 {
22 return _arguments[index];
23 }
24
26 {
27 return ExpressionUtils.SameElements(arguments, _arguments);
28 }
29
34
36 {
37 return Expression.Call(instance, base.Method, args ?? _arguments);
38 }
39}
static ReadOnlyCollection< ParameterExpression > ReturnReadOnly(IParameterProvider provider, ref object collection)
static MethodCallExpression Call(MethodInfo method)
override bool SameArguments(ICollection< Expression > arguments)
override ReadOnlyCollection< Expression > GetOrMakeArguments()
override MethodCallExpression Rewrite(Expression instance, IReadOnlyList< Expression > args)
InstanceMethodCallExpressionN(MethodInfo method, Expression instance, IReadOnlyList< Expression > args)