2 implementations of ReadText
Microsoft.CodeAnalysis.Workspaces (2)
TemporaryStorage\TemporaryStorageServiceFactory.cs (1)
218
public SourceText
ReadText
(CancellationToken cancellationToken)
Workspace\Host\TemporaryStorage\TrivialTemporaryStorageService.cs (1)
87
public SourceText
ReadText
(CancellationToken cancellationToken)
4 references to ReadText
Microsoft.CodeAnalysis.Workspaces (3)
Serialization\SerializableSourceText.cs (2)
97
text = _storage!.
ReadText
(cancellationToken);
171
return new SerializableSourceText(storage.
ReadText
(cancellationToken));
Workspace\Solution\RecoverableTextAndVersion.cs (1)
191
return _storage.
ReadText
(cancellationToken);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
WorkspaceServiceTests\TemporaryStorageServiceTests.cs (1)
96
Assert.Throws<InvalidOperationException>(() => storage.
ReadText
());