3 instantiations of LoadableTextAndVersionSource
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\TextDocumentState.cs (3)
171
return new
LoadableTextAndVersionSource
(loader, cacheResult: true);
178
return new
LoadableTextAndVersionSource
(loader, cacheResult: false);
183
return new RecoverableTextAndVersion(new
LoadableTextAndVersionSource
(loader, cacheResult: false), solutionServices);
3 references to LoadableTextAndVersionSource
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\VersionSource\LoadableTextAndVersionSource.cs (2)
15
private sealed class LazyValueWithOptions(
LoadableTextAndVersionSource
source, LoadTextOptions options)
17
public readonly
LoadableTextAndVersionSource
Source = source;
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
160
Contract.ThrowIfTrue(source is
LoadableTextAndVersionSource
{ CacheResult: true });