System\Linq\Expressions\IndexExpression.cs (20)
87public IndexExpression Update(Expression @object, IEnumerable<Expression>? arguments)
132/// Creates an <see cref="IndexExpression"/> that represents accessing an indexed property in an object.
137/// <returns>The created <see cref="IndexExpression"/>.</returns>
138public static IndexExpression MakeIndex(Expression instance, PropertyInfo? indexer, IEnumerable<Expression>? arguments)
153/// Creates an <see cref="IndexExpression"/> to access an array.
159/// <returns>The created <see cref="IndexExpression"/>.</returns>
160public static IndexExpression ArrayAccess(Expression array, params Expression[]? indexes)
166/// Creates an <see cref="IndexExpression"/> to access an array.
172/// <returns>The created <see cref="IndexExpression"/>.</returns>
173public static IndexExpression ArrayAccess(Expression array, IEnumerable<Expression>? indexes)
206/// Creates an <see cref="IndexExpression"/> representing the access to an indexed property.
211/// <returns>The created <see cref="IndexExpression"/>.</returns>
213public static IndexExpression Property(Expression instance, string propertyName, params Expression[]? arguments)
342/// Creates an <see cref="IndexExpression"/> representing the access to an indexed property.
347/// <returns>The created <see cref="IndexExpression"/>.</returns>
348public static IndexExpression Property(Expression? instance, PropertyInfo indexer, params Expression[]? arguments)
354/// Creates an <see cref="IndexExpression"/> representing the access to an indexed property.
359/// <returns>The created <see cref="IndexExpression"/>.</returns>
360public static IndexExpression Property(Expression? instance, PropertyInfo indexer, IEnumerable<Expression>? arguments) =>
363private static IndexExpression MakeIndexProperty(Expression? instance, PropertyInfo indexer, string paramName, ReadOnlyCollection<Expression> argList)