Microsoft.Scripting.Runtime.ArgumentArray.GetMetaObject C# (CSharp) Method

GetMetaObject() public method

public GetMetaObject ( Expression parameter, int index ) : DynamicMetaObject
parameter Expression
index int
return System.Dynamic.DynamicMetaObject
        public DynamicMetaObject GetMetaObject(Expression parameter, int index) {
            return DynamicMetaObject.Create(
                GetArgument(index),
                Expression.Call(
                    _GetArgMethod, 
                    AstUtils.Convert(parameter, typeof(ArgumentArray)),
                    AstUtils.Constant(index)
                )
            );
        }