2 implementations of ITemporaryStreamStorageInternal
Microsoft.CodeAnalysis.Workspaces (2)
TemporaryStorage\TemporaryStorageServiceFactory.cs (1)
304internal class TemporaryStreamStorage : ITemporaryStreamStorageInternal, ITemporaryStorageWithName
Workspace\Host\TemporaryStorage\TrivialTemporaryStorageService.cs (1)
29private sealed class StreamStorage : ITemporaryStreamStorageInternal
27 references to ITemporaryStreamStorageInternal
Microsoft.CodeAnalysis.Workspaces (23)
Serialization\ISupportTemporaryStorage.cs (1)
16IEnumerable<ITemporaryStreamStorageInternal>? GetStorages();
Serialization\SerializerService_Reference.cs (9)
329foreach (var storage in storages) 357private (Metadata metadata, ImmutableArray<ITemporaryStreamStorageInternal> storages)? TryReadMetadataFrom( 397using var pooledStorage = Creator.CreateList<ITemporaryStreamStorageInternal>(); 420private (ModuleMetadata metadata, ITemporaryStreamStorageInternal storage) ReadModuleMetadataFrom( 425GetTemporaryStorage(reader, kind, out var storage, out var length, cancellationToken); 457ObjectReader reader, SerializationKinds kind, out ITemporaryStreamStorageInternal storage, out long length, CancellationToken cancellationToken) 633private readonly ImmutableArray<ITemporaryStreamStorageInternal> _storagesOpt; 638Metadata metadata, ImmutableArray<ITemporaryStreamStorageInternal> storagesOpt, DocumentationProvider initialDocumentation) 659public IEnumerable<ITemporaryStreamStorageInternal>? GetStorages()
TemporaryStorage\TemporaryStorageServiceFactory.cs (3)
111ITemporaryStreamStorageInternal ITemporaryStorageServiceInternal.CreateTemporaryStreamStorage() 117public ITemporaryStreamStorageInternal AttachTemporaryStreamStorage(string storageName, long offset, long size) 333Stream ITemporaryStreamStorageInternal.ReadStream(CancellationToken cancellationToken)
Workspace\Host\TemporaryStorage\ITemporaryStorageService.cs (1)
19ITemporaryStreamStorageInternal CreateTemporaryStreamStorage();
Workspace\Host\TemporaryStorage\ITemporaryStorageService2.cs (1)
19ITemporaryStreamStorageInternal AttachTemporaryStreamStorage(string storageName, long offset, long size);
Workspace\Host\TemporaryStorage\ITemporaryStreamStorageExtensions.cs (3)
15public static void WriteAllLines(this ITemporaryStreamStorageInternal storage, ImmutableArray<string> values) 31public static ImmutableArray<string> ReadLines(this ITemporaryStreamStorageInternal storage) 36private static IEnumerable<string> EnumerateLines(ITemporaryStreamStorageInternal storage)
Workspace\Host\TemporaryStorage\TrivialTemporaryStorageService.cs (1)
23public ITemporaryStreamStorageInternal CreateTemporaryStreamStorage()
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
39private ITemporaryStreamStorageInternal? _commandLineStorage;
Workspace\Solution\SolutionState.SkeletonReferenceCache.cs (3)
202var storage = TryCreateMetadataStorage(services, compilation, cancellationToken); 233private static ITemporaryStreamStorageInternal? TryCreateMetadataStorage(SolutionServices services, Compilation compilation, CancellationToken cancellationToken) 254var storage = temporaryStorageService.CreateTemporaryStreamStorage();
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
WorkspaceServiceTests\TemporaryStorageServiceTests.cs (2)
169using ITemporaryStreamStorageInternal storage1 = service.CreateTemporaryStreamStorage(), 213var storageHandles = new List<ITemporaryStreamStorageInternal>(fileCount);
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\MetadataReferences\VisualStudioMetadataReference.Snapshot.cs (1)
113public IEnumerable<ITemporaryStreamStorageInternal> GetStorages()
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManager.cs (1)
92public IEnumerable<ITemporaryStreamStorageInternal>? GetStorages(string fullPath, DateTime snapshotTimestamp)