public ClassLayoutRow CreateClassLayoutRow(ushort _packingSize, uint _classSize, uint _parent)
        {
            ClassLayoutRow row = new ClassLayoutRow();

            row.PackingSize = _packingSize;
            row.ClassSize   = _classSize;
            row.Parent      = _parent;
            return(row);
        }
 public override void VisitClassLayoutRow(ClassLayoutRow row)
 {
     m_binaryWriter.Write (row.PackingSize);
     m_binaryWriter.Write (row.ClassSize);
     WriteTablePointer (row.Parent, TypeDefTable.RId);
 }
 public ClassLayoutRow CreateClassLayoutRow(ushort _packingSize, uint _classSize, uint _parent)
 {
     ClassLayoutRow row = new ClassLayoutRow ();
     row.PackingSize = _packingSize;
     row.ClassSize = _classSize;
     row.Parent = _parent;
     return row;
 }
 public override void VisitClassLayoutRow(ClassLayoutRow row)
 {
     row.PackingSize = m_binaryReader.ReadUInt16();
     row.ClassSize   = m_binaryReader.ReadUInt32();
     row.Parent      = ReadByIndexSize(GetIndexSize(TypeDefTable.RId));
 }
 public override void VisitClassLayoutRow(ClassLayoutRow row)
 {
     m_binaryWriter.Write(row.PackingSize);
     m_binaryWriter.Write(row.ClassSize);
     WriteTablePointer(row.Parent, TypeDefTable.RId);
 }
示例#6
0
 public override void VisitClassLayoutRow(ClassLayoutRow row)
 {
     row.PackingSize = m_binaryReader.ReadUInt16 ();
     row.ClassSize = m_binaryReader.ReadUInt32 ();
     row.Parent = ReadByIndexSize (GetIndexSize (TypeDefTable.RId));
 }