Esempio n. 1
0
        public static GlobalStatementsBlock Create(Context cx, Method parent)
        {
            var ret = new GlobalStatementsBlock(cx, parent);

            ret.TryPopulate();
            return(ret);
        }
Esempio n. 2
0
        public static GlobalStatementsBlock Create(Context cx, Method parent, List <GlobalStatementSyntax> globalStatements)
        {
            var ret = new GlobalStatementsBlock(cx, parent, globalStatements);

            ret.TryPopulate();
            return(ret);
        }