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); 616latestDocumentVersion ?? _lazyLatestDocumentVersion, 943if (!_lazyLatestDocumentVersion.TryGetValue(out var documentVersion) || documentVersion == oldVersion) 959: _lazyLatestDocumentVersion;