2 instantiations of TemporaryStorageTextHandle
Microsoft.CodeAnalysis.Workspaces (2)
TemporaryStorage\TemporaryStorageService.cs (2)
107return new(this, memoryMappedInfo.MemoryMappedFile, identifier, text.ChecksumAlgorithm, text.Encoding, text.GetContentHash()); 190return new(this, memoryMappedFile, storageIdentifier, checksumAlgorithm, encoding, contentHash);
8 references to TemporaryStorageTextHandle
Microsoft.CodeAnalysis.Workspaces (8)
Serialization\SerializableSourceText.cs (5)
37private readonly TemporaryStorageTextHandle? _storageHandle; 58public SerializableSourceText(TemporaryStorageTextHandle storageHandle) 73private SerializableSourceText(TemporaryStorageTextHandle? storageHandle, SourceText? text, Checksum contentChecksum) 126else if (state.StorageHandle is TemporaryStorageTextHandle storageHandle) 187var storageHandle = storageService.GetTextHandle(identifier, checksumAlgorithm, encoding, contentHash);
TemporaryStorage\TemporaryStorageService.cs (3)
103public TemporaryStorageTextHandle WriteToTemporaryStorage(SourceText text, CancellationToken cancellationToken) 129public async Task<TemporaryStorageTextHandle> WriteToTemporaryStorageAsync(SourceText text, CancellationToken cancellationToken) 182internal TemporaryStorageTextHandle GetTextHandle(