System.Linq.Expressions.IndexExpression.IndexExpression C# (CSharp) Method

IndexExpression() private method

private IndexExpression ( Expression instance, PropertyInfo indexer, IReadOnlyList arguments ) : System.Collections.Generic
instance Expression
indexer System.Reflection.PropertyInfo
arguments IReadOnlyList
return System.Collections.Generic
        internal IndexExpression(
            Expression instance,
            PropertyInfo indexer,
            IReadOnlyList<Expression> arguments)
        {
            if (indexer == null)
            {
                Debug.Assert(instance != null && instance.Type.IsArray);
                Debug.Assert(instance.Type.GetArrayRank() == arguments.Count);
            }

            Object = instance;
            Indexer = indexer;
            _arguments = arguments;
        }