コード例 #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);
        }
コード例 #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
ファイル: MetadataTableWriter.cs プロジェクト: nobled/mono
		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 ());
 }
コード例 #6
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;
        }