public override void VisitFieldTable(FieldTable table) { int number = m_rows [FieldTable.RId]; table.Rows = new RowCollection(number); for (int i = 0; i < number; i++) { table.Rows.Add(new FieldRow()); } }
public FieldTable GetFieldTable() { FieldTable table = m_heap [FieldTable.RId] as FieldTable; if (table != null) { return(table); } table = new FieldTable(); InitializeTable(table); return(table); }
public FieldTable GetFieldTable() { int rid = FieldTable.RId; if (m_heap.HasTable(rid)) { return(m_heap [rid] as FieldTable); } FieldTable table = new FieldTable(); table.Rows = new RowCollection(); m_heap.Valid |= 1L << rid; m_heap.Tables.Add(table); return(table); }
public FieldTable GetFieldTable () { FieldTable table = m_heap [FieldTable.RId] as FieldTable; if (table != null) return table; table = new FieldTable (); InitializeTable (table); return table; }
public override void VisitFieldTable(FieldTable table) { int number = m_rows [FieldTable.RId]; table.Rows = new RowCollection (number); for (int i = 0; i < number; i++) table.Rows.Add (new FieldRow ()); }
public FieldTable GetFieldTable() { int rid = FieldTable.RId; if (m_heap.HasTable (rid)) return m_heap [rid] as FieldTable; FieldTable table = new FieldTable (); table.Rows = new RowCollection (); m_heap.Valid |= 1L << rid; m_heap.Tables.Add (table); return table; }
void EncodeFieldTable (FieldTable table) { int index = 0; foreach (FieldRow row in table.Rows) { this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT); this.asm.LABEL (moduleName + " FieldRow#" + index); this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.FieldRow).ToString ()); this.asm.DATA ((uint) row.Flags); this.asm.DATA (row.Name); this.asm.DATA (row.Signature); ++index; } this.MetadataArray ("Field", table); }