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

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

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

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