public static MemberReferenceExpression add_MemberReference(this BlockStatement blockStatement, string memberName, string className) //, AstExpression expression) { var identifier = new IdentifierExpression(memberName); var memberReference = new MemberReferenceExpression(identifier, className); blockStatement.append(memberReference.expressionStatement()); return(memberReference); }