public CodeMethodInvokeExpression(System.CodeDom.CodeMethodReferenceExpression method, bool useAwait, params System.CodeDom.CodeExpression[] parameters) { this.method = method; Parameters.AddRange(parameters); UseAwait = useAwait; }
public CodeMethodInvokeExpression(System.CodeDom.CodeExpression targetObject, string methodName, bool useAwait, params System.CodeDom.CodeExpression[] parameters) { this.method = new System.CodeDom.CodeMethodReferenceExpression(targetObject, methodName); Parameters.AddRange(parameters); UseAwait = useAwait; }
protected abstract void GenerateMethodReferenceExpression(System.CodeDom.CodeMethodReferenceExpression e);