/// <summary> /// Converts the specified memory region. /// </summary> /// <param name="memoryRegion">The memory region.</param> /// <returns>IClrMemoryRegion.</returns> public IClrMemoryRegion Convert(ClrMd.ClrMemoryRegion memoryRegion) { if (memoryRegion == null) { return(null); } var item = new MemoryRegionAdapter(this, memoryRegion); return(Cache.GetOrAdd <IClrMemoryRegion>(memoryRegion, () => item, () => item.Setup())); }
public RegionInformation(ClrMemoryRegion region) { this.region = region; }
public MDMemoryRegion(ClrMemoryRegion region) { m_region = region; }