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

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new AssemblyRefProcessorRow());
            }
        }
Exemple #2
0
        public AssemblyRefProcessorTable GetAssemblyRefProcessorTable()
        {
            AssemblyRefProcessorTable table = m_heap [AssemblyRefProcessorTable.RId] as AssemblyRefProcessorTable;

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

            table = new AssemblyRefProcessorTable();
            InitializeTable(table);
            return(table);
        }
Exemple #3
0
        public AssemblyRefProcessorTable GetAssemblyRefProcessorTable()
        {
            int rid = AssemblyRefProcessorTable.RId;

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

            AssemblyRefProcessorTable table = new AssemblyRefProcessorTable();

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

			table = new AssemblyRefProcessorTable ();
			InitializeTable (table);
			return table;
		}
 public override void VisitAssemblyRefProcessorTable(AssemblyRefProcessorTable table)
 {
     int number = m_rows [AssemblyRefProcessorTable.RId];
     table.Rows = new RowCollection (number);
     for (int i = 0; i < number; i++)
         table.Rows.Add (new AssemblyRefProcessorRow ());
 }
        public AssemblyRefProcessorTable GetAssemblyRefProcessorTable()
        {
            int rid = AssemblyRefProcessorTable.RId;
            if (m_heap.HasTable (rid))
                return m_heap [rid] as AssemblyRefProcessorTable;

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