public override void VisitAssemblyOSTable(AssemblyOSTable table)
        {
            int number = m_rows [AssemblyOSTable.RId];

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new AssemblyOSRow());
            }
        }
        public AssemblyOSTable GetAssemblyOSTable()
        {
            int rid = AssemblyOSTable.RId;
            if (m_heap.HasTable (rid))
                return m_heap [rid] as AssemblyOSTable;

            AssemblyOSTable table = new AssemblyOSTable ();
            table.Rows = new RowCollection ();
            m_heap.Valid |= 1L << rid;
            m_heap.Tables.Add (table);
            return table;
        }
Example #3
0
        public AssemblyOSTable GetAssemblyOSTable()
        {
            AssemblyOSTable table = m_heap [AssemblyOSTable.RId] as AssemblyOSTable;

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

            table = new AssemblyOSTable();
            InitializeTable(table);
            return(table);
        }
Example #4
0
        public AssemblyOSTable GetAssemblyOSTable()
        {
            int rid = AssemblyOSTable.RId;

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

            AssemblyOSTable table = new AssemblyOSTable();

            table.Rows    = new RowCollection();
            m_heap.Valid |= 1L << rid;
            m_heap.Tables.Add(table);
            return(table);
        }
Example #5
0
		public AssemblyOSTable GetAssemblyOSTable ()
		{
			AssemblyOSTable table = m_heap [AssemblyOSTable.RId] as AssemblyOSTable;
			if (table != null)
				return table;

			table = new AssemblyOSTable ();
			InitializeTable (table);
			return table;
		}
 public override void VisitAssemblyOSTable(AssemblyOSTable table)
 {
     int number = m_rows [AssemblyOSTable.RId];
     table.Rows = new RowCollection (number);
     for (int i = 0; i < number; i++)
         table.Rows.Add (new AssemblyOSRow ());
 }