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);
        }
示例#3
0
        public AssemblyRefOSTable GetAssemblyRefOSTable()
        {
            int rid = AssemblyRefOSTable.RId;

            if (m_heap.HasTable(rid))
            {
                return(m_heap [rid] as AssemblyRefOSTable);
            }

            AssemblyRefOSTable table = new AssemblyRefOSTable();

            table.Rows    = new RowCollection();
            m_heap.Valid |= 1L << rid;
            m_heap.Tables.Add(table);
            return(table);
        }
示例#4
0
		public AssemblyRefOSTable GetAssemblyRefOSTable ()
		{
			AssemblyRefOSTable table = m_heap [AssemblyRefOSTable.RId] as AssemblyRefOSTable;
			if (table != null)
				return table;

			table = new AssemblyRefOSTable ();
			InitializeTable (table);
			return table;
		}
示例#5
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 ());
 }
        public AssemblyRefOSTable GetAssemblyRefOSTable()
        {
            int rid = AssemblyRefOSTable.RId;
            if (m_heap.HasTable (rid))
                return m_heap [rid] as AssemblyRefOSTable;

            AssemblyRefOSTable table = new AssemblyRefOSTable ();
            table.Rows = new RowCollection ();
            m_heap.Valid |= 1L << rid;
            m_heap.Tables.Add (table);
            return table;
        }