4 references to MemoryMappedInfo
Microsoft.CodeAnalysis.Workspaces (4)
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (1)
73
:
this
(new ReferenceCountedDisposable<MemoryMappedFile>(MemoryMappedFile.OpenExisting(name)), name, offset, size)
TemporaryStorage\TemporaryStorageServiceFactory.cs (3)
136
return new
MemoryMappedInfo
(new ReferenceCountedDisposable<MemoryMappedFile>(storage), mapName, offset: 0, size: size);
155
return new
MemoryMappedInfo
(reference, _name, offset: 0, size: size);
162
return new
MemoryMappedInfo
(reference, _name, _offset - size, size);