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