Ejemplo n.º 1
0
        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);
        }