public bool MonoTypeGetIsByRef(TargetMemoryAccess memory, TargetAddress type) { uint flags = (uint) memory.ReadInteger ( type + memory.TargetMemoryInfo.TargetAddressSize); return (int) ((flags & 0x40000000) >> 30) != 0; }