public override void VisitPropertyPtrTable(PropertyPtrTable table) { int number = m_rows [PropertyPtrTable.RId]; table.Rows = new RowCollection(number); for (int i = 0; i < number; i++) { table.Rows.Add(new PropertyPtrRow()); } }
public PropertyPtrTable GetPropertyPtrTable() { PropertyPtrTable table = m_heap [PropertyPtrTable.RId] as PropertyPtrTable; if (table != null) { return(table); } table = new PropertyPtrTable(); InitializeTable(table); return(table); }
public PropertyPtrTable GetPropertyPtrTable () { PropertyPtrTable table = m_heap [PropertyPtrTable.RId] as PropertyPtrTable; if (table != null) return table; table = new PropertyPtrTable (); InitializeTable (table); return table; }
public override void VisitPropertyPtrTable(PropertyPtrTable table) { int number = m_rows [PropertyPtrTable.RId]; table.Rows = new RowCollection (number); for (int i = 0; i < number; i++) table.Rows.Add (new PropertyPtrRow ()); }
void EncodePropertyPtrTable (PropertyPtrTable table) { int index = 0; foreach (PropertyPtrRow row in table.Rows) { this.asm.ALIGN (Assembly.OBJECT_ALIGNMENT); this.asm.LABEL (moduleName + " PropertyPtrRow#" + index); this.asm.AddObjectFields (typeof (SharpOS.AOT.Metadata.PropertyPtrRow).ToString ()); this.asm.DATA (row.Property); ++index; } this.MetadataArray ("PropertyPtr", table); }