예제 #1
0
        public override void VisitManifestResourceTable(ManifestResourceTable table)
        {
            int number = m_rows [ManifestResourceTable.RId];

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new ManifestResourceRow());
            }
        }
예제 #2
0
        public ManifestResourceTable GetManifestResourceTable()
        {
            ManifestResourceTable table = m_heap [ManifestResourceTable.RId] as ManifestResourceTable;

            if (table != null)
            {
                return(table);
            }

            table = new ManifestResourceTable();
            InitializeTable(table);
            return(table);
        }