2 implementations of ReadTextAsync
Microsoft.CodeAnalysis.Workspaces (2)
TemporaryStorage\TemporaryStorageServiceFactory.cs (1)
235public async Task<SourceText> ReadTextAsync(CancellationToken cancellationToken)
Workspace\Host\TemporaryStorage\TrivialTemporaryStorageService.cs (1)
90public Task<SourceText> ReadTextAsync(CancellationToken cancellationToken)
6 references to ReadTextAsync
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Workspaces\TextFactoryTests.cs (2)
91var text2 = await temporaryStorage.ReadTextAsync(); 113var text2 = await temporaryStorage.ReadTextAsync();
Microsoft.CodeAnalysis.Workspaces (2)
Serialization\SerializableSourceText.cs (1)
85text = await _storage!.ReadTextAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\RecoverableTextAndVersion.cs (1)
181return await _storage.ReadTextAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
WorkspaceServiceTests\TemporaryStorageServiceTests.cs (2)
78var text2 = temporaryStorage.ReadTextAsync().Result; 97Assert.Throws<AggregateException>(() => storage.ReadTextAsync().Result);