示例#1
0
        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;
            }
        }
示例#2
0
        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();
        }
示例#3
0
        public override void Read()
        {
            TypeDataReader r = CreateReader();

            Attributes   = r.ReadFlagsEnum <CVModifier>();
            ModifiedType = r.ReadIndexedType16Lazy();
        }
示例#4
0
        public override void Read()
        {
            TypeDataReader r = CreateReader();

            NumElements = r.ReadUInt16();
            Bases       = r.ReadIndexedType16Lazy();
        }