public override void Read() { TypeDataReader r = CreateReader(); //// header Attributes = new PointerAttributes16(r.ReadUInt16()); UnderlyingType = r.ReadIndexedType16Lazy(); //// body switch (Attributes.PointerMode) { case PointerMode.Pointer: case PointerMode.Reference: switch (Attributes.PointerType) { case PointerType.BaseSeg: BaseSegment = r.ReadUInt16(); throw new NotImplementedException("LF_REFSYM"); break; case PointerType.BaseType: BaseType = r.ReadIndexedType16Lazy(); BaseTypeName = r.ReadString16(); break; } break; case PointerMode.PointerMember: case PointerMode.PointerFunction: ContainingClass = r.ReadIndexedType16Lazy(); MemberPointerType = r.ReadEnum <MemberPointerType>(); break; } }
public override void Read() { TypeDataReader r = CreateReader(); NumberOfElements = r.ReadUInt16(); FieldIndex = r.ReadIndexedType16Lazy(); FieldProperties = r.ReadFlagsEnum <TypeProperties>(); DerivedType = r.ReadIndexedType16Lazy(); VShapeTableType = r.ReadIndexedType16Lazy(); StructSize = r.ReadVaryingType(out uint dataSize); Name = r.ReadString16(); }
public override void Read() { TypeDataReader r = CreateReader(); Attributes = r.ReadFlagsEnum <CVModifier>(); ModifiedType = r.ReadIndexedType16Lazy(); }
public override void Read() { TypeDataReader r = CreateReader(); NumElements = r.ReadUInt16(); Bases = r.ReadIndexedType16Lazy(); }