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