4 implementations of GetValueAsync
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ConstantTextAndVersionSource.cs (1)
43
public Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
Workspace\Solution\DocumentState_TreeTextSource.cs (1)
32
public async Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
Workspace\Solution\LoadableTextAndVersionSource.cs (1)
69
public Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
Workspace\Solution\RecoverableTextAndVersion.cs (1)
117
public async Task<TextAndVersion>
GetValueAsync
(LoadTextOptions options, CancellationToken cancellationToken)
6 references to GetValueAsync
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\DocumentState.cs (2)
125
var textAndVersion = await newTextSource.
GetValueAsync
(loadTextOptions, cancellationToken).ConfigureAwait(false);
187
var newTextAndVersion = await newTextSource.
GetValueAsync
(loadTextOptions, cancellationToken).ConfigureAwait(false);
Workspace\Solution\RecoverableTextAndVersion.cs (2)
124
value: new RecoverableText(source, await source.
GetValueAsync
(options, cancellationToken).ConfigureAwait(false), options, _services),
135
new RecoverableText(recoverableText.InitialSource, await recoverableText.InitialSource.
GetValueAsync
(options, cancellationToken).ConfigureAwait(false), options, _services));
Workspace\Solution\TextDocumentState.cs (2)
221
return new ValueTask<TextAndVersion>(TextAndVersionSource.
GetValueAsync
(LoadTextOptions, cancellationToken));
240
var textAndVersion = await this.TextAndVersionSource.
GetValueAsync
(LoadTextOptions, cancellationToken).ConfigureAwait(false);