private void ReadLogFileChunk_Type(MetadataEvent t)
{
if (t.MType != MetadataEvent.MetaDataType.Class)
return;
TypeInfo ti = new TypeInfo ();
ti.Code = t.Pointer + currentPtrBase;
ti.Name = t.Name;
ti.FieldsIndex = currentData.FieldCodes.Count;
int nf = 0;
/* uint fcode;
while ((fcode = reader.ReadUInt32 ()) != 0) {
fieldCodes.Add (fcode);
fieldNamesList.Add (reader.ReadString ());
nf++;
}*/
ti.FieldsCount = nf;
currentData.TypesList.Add (ti);
}