Inheritance: TargetPointerType
示例#1
0
 public MonoPointerObject(MonoPointerType type, TargetLocation location)
     : base(type, location)
 {
     this.Type = type;
 }
        public TargetType ReadType(TargetMemoryAccess memory, TargetAddress address)
        {
            TargetAddress data = MetadataHelper.MonoTypeGetData (memory, address);
            MonoTypeEnum type = MetadataHelper.MonoTypeGetType (memory, address);
            bool byref = MetadataHelper.MonoTypeGetIsByRef (memory, address);

            TargetType target_type = ReadType (memory, type, data);
            if (target_type == null)
                return null;

            if (byref)
                target_type = new MonoPointerType (target_type);

            return target_type;
        }
 public MonoPointerObject(MonoPointerType type, TargetLocation location)
     : base(type, location)
 {
     this.Type = type;
 }