5 instantiations of MemoryMappedInfo
Microsoft.CodeAnalysis.Workspaces (5)
TemporaryStorage\TemporaryStorageServiceFactory.cs (5)
136return new MemoryMappedInfo(new ReferenceCountedDisposable<MemoryMappedFile>(storage), mapName, offset: 0, size: size); 155return new MemoryMappedInfo(reference, _name, offset: 0, size: size); 162return new MemoryMappedInfo(reference, _name, _offset - size, size); 186_memoryMappedInfo = new MemoryMappedInfo(storageName, offset, size); 315_memoryMappedInfo = new MemoryMappedInfo(storageName, offset, size);
9 references to MemoryMappedInfo
Microsoft.CodeAnalysis.Workspaces (9)
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (5)
28/// may occur before or after the <see cref="MemoryMappedInfo"/> is disposed.</para> 84/// <see cref="MemoryMappedInfo"/>. 90/// <see cref="MemoryMappedInfo"/>. 111throw new ObjectDisposedException(typeof(MemoryMappedInfo).FullName); 135throw new ObjectDisposedException(typeof(MemoryMappedInfo).FullName);
TemporaryStorage\TemporaryStorageServiceFactory.cs (4)
128/// <returns>A <see cref="MemoryMappedInfo"/> describing the allocated block.</returns> 129private MemoryMappedInfo CreateTemporaryStorage(long size) 176private MemoryMappedInfo? _memoryMappedInfo; 307private MemoryMappedInfo? _memoryMappedInfo;