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