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());
            }
        }
예제 #2
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;
        }
예제 #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);
        }
예제 #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);
        }
예제 #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;
		}
예제 #6
0
 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 ());
 }