4 implementations of GetValueAsync
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ConstantTextAndVersionSource.cs (1)
30
public Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
Workspace\Solution\DocumentState_TreeTextSource.cs (1)
29
public async Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
Workspace\Solution\VersionSource\LoadableTextAndVersionSource.cs (1)
132
public Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
126
public async Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
6 references to GetValueAsync
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\DocumentState.cs (2)
138
var textAndVersion = await newTextSource.
GetValueAsync
(loadTextOptions, cancellationToken).ConfigureAwait(false);
200
var newTextAndVersion = await newTextSource.
GetValueAsync
(loadTextOptions, cancellationToken).ConfigureAwait(false);
Workspace\Solution\TextDocumentState.cs (1)
194
return new ValueTask<TextAndVersion>(TextAndVersionSource.
GetValueAsync
(LoadTextOptions, cancellationToken));
Workspace\Solution\VersionSource\ITextAndVersionSource.cs (1)
32
/// Retrieves just the version information from this instance. Cheaper than <see cref="
GetValueAsync
"/> when only
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (2)
91
? await source.
GetValueAsync
(options, cancellationToken).ConfigureAwait(false)
106
? await recoverableText.InitialSource.
GetValueAsync
(options, cancellationToken).ConfigureAwait(false)