Пример #1
0
        public static GlobalStatementsBlock Create(Context cx, Method parent)
        {
            var ret = new GlobalStatementsBlock(cx, parent);

            ret.TryPopulate();
            return(ret);
        }
Пример #2
0
        public static GlobalStatementsBlock Create(Context cx, Method parent, List <GlobalStatementSyntax> globalStatements)
        {
            var ret = new GlobalStatementsBlock(cx, parent, globalStatements);

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