public override void VisitNestedClassTable(NestedClassTable table) { int number = m_rows [NestedClassTable.RId]; table.Rows = new RowCollection(number); for (int i = 0; i < number; i++) { table.Rows.Add(new NestedClassRow()); } }
public NestedClassTable GetNestedClassTable() { NestedClassTable table = m_heap [NestedClassTable.RId] as NestedClassTable; if (table != null) { return(table); } table = new NestedClassTable(); InitializeTable(table); return(table); }
public NestedClassTable GetNestedClassTable() { int rid = NestedClassTable.RId; if (m_heap.HasTable(rid)) { return(m_heap [rid] as NestedClassTable); } NestedClassTable table = new NestedClassTable(); table.Rows = new RowCollection(); m_heap.Valid |= 1L << rid; m_heap.Tables.Add(table); return(table); }
public NestedClassTable GetNestedClassTable () { NestedClassTable table = m_heap [NestedClassTable.RId] as NestedClassTable; if (table != null) return table; table = new NestedClassTable (); InitializeTable (table); return table; }
public override void VisitNestedClassTable(NestedClassTable table) { int number = m_rows [NestedClassTable.RId]; table.Rows = new RowCollection (number); for (int i = 0; i < number; i++) table.Rows.Add (new NestedClassRow ()); }
public NestedClassTable GetNestedClassTable() { int rid = NestedClassTable.RId; if (m_heap.HasTable (rid)) return m_heap [rid] as NestedClassTable; NestedClassTable table = new NestedClassTable (); table.Rows = new RowCollection (); m_heap.Valid |= 1L << rid; m_heap.Tables.Add (table); return table; }
void EncodeNestedClassTable (NestedClassTable table) { int index = 0; foreach (NestedClassRow row in table.Rows) { this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT); this.asm.LABEL (moduleName + " NestedClassRow#" + index); this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.NestedClassRow).ToString ()); this.asm.DATA (row.NestedClass); this.asm.DATA (row.EnclosingClass); ++index; } this.MetadataArray ("NestedClass", table); }