2 implementations of WriteTextAsync
Microsoft.CodeAnalysis.Workspaces (2)
TemporaryStorage\TemporaryStorageServiceFactory.cs (1)
280public async Task WriteTextAsync(SourceText text, CancellationToken cancellationToken)
Workspace\Host\TemporaryStorage\TrivialTemporaryStorageService.cs (1)
105public Task WriteTextAsync(SourceText text, CancellationToken cancellationToken = default)
6 references to WriteTextAsync
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Workspaces\TextFactoryTests.cs (2)
88await temporaryStorage.WriteTextAsync(text); 110await temporaryStorage.WriteTextAsync(text);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\RecoverableTextAndVersion.cs (1)
200await storage.WriteTextAsync(text, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
WorkspaceServiceTests\TemporaryStorageServiceTests.cs (3)
75temporaryStorage.WriteTextAsync(text).Wait(); 101storage.WriteTextAsync(text).Wait(); 105Assert.Throws<AggregateException>(() => storage.WriteTextAsync(text).Wait());