2 writes to _lazyLatestDocumentVersion
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
82
_lazyLatestDocumentVersion
= lazyLatestDocumentVersion;
122
_lazyLatestDocumentVersion
= new AsyncLazy<VersionStamp>(c => ComputeLatestDocumentVersionAsync(DocumentStates, AdditionalDocumentStates, c), cacheResult: true);
4 references to _lazyLatestDocumentVersion
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ProjectState.cs (4)
517
=>
_lazyLatestDocumentVersion
.GetValueAsync(cancellationToken);
616
latestDocumentVersion ??
_lazyLatestDocumentVersion
,
943
if (!
_lazyLatestDocumentVersion
.TryGetValue(out var documentVersion) || documentVersion == oldVersion)
959
:
_lazyLatestDocumentVersion
;