protected virtual void Write(IndentedTextWriter writer, MethodInvokeExpression expression)
 {
     Write(writer, expression.Method);
     writer.Write("(");
     Write(writer, expression.Arguments, ", ");
     writer.Write(")");
 }
示例#2
0
 public virtual void VisitMethodInvokeExpression(MethodInvokeExpression methodInvokeExpression)
 {
     VisitExpression(methodInvokeExpression);
     VisitCollection(methodInvokeExpression.Parameters);
     Visit(methodInvokeExpression.Arguments);
     Visit(methodInvokeExpression.Method);
 }
 protected virtual void WriteMethodInvokeExpression(IndentedTextWriter writer, MethodInvokeExpression expression)
 {
     WriteExpression(writer, expression.Method);
     WriteGenericParameters(writer, expression.Parameters);
     writer.Write("(");
     Write(writer, expression.Arguments, ", ");
     writer.Write(")");
 }