internal override IndexCSharpExpression Rewrite(Expression @object, IEnumerable <ParameterAssignment> arguments) { return(CSharpExpression.Index(@object, Indexer, arguments)); }
private static IndexCSharpExpression MakeAccess(ConditionalReceiver receiver, MethodInfo method, ReadOnlyCollection <ParameterAssignment> arguments) { return(CSharpExpression.Index(receiver, method, arguments)); // TODO: call ctor directly }
private static IndexCSharpExpression MakeAccess(ConditionalReceiver receiver, PropertyInfo indexer, ReadOnlyCollection <ParameterAssignment> arguments) => CSharpExpression.Index(receiver, indexer, arguments); // TODO: call ctor directly