public bool IsRoot(MemoryObject memoryObject) { return(memoryObject.Address == BaseAddress && TypeHelper.SizeOf(memoryObject.GetType()) == SnapshotReader.Segment.Array.Length); }
public static TCast Cast <TCast>(this MemoryObject self) where TCast : MemoryObject { return(MemoryObjectFactory.Create <TCast>(self.Memory, self.Address)); }