1 write to Version
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TreeAndVersion.cs (1)
28Version = version;
9 references to Version
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\Solution\DocumentState.cs (7)
234return MakeNewTreeAndVersion(oldTree, oldText, oldTreeAndVersion.Version, newTree, newText, newTextAndVersion.Version); 371newTreeSource = ValueSource.Constant(new TreeAndVersion(newTree, existingTreeAndVersion.Version)); 572return oldRoot.IsEquivalentTo(newRoot, topLevel: true) ? oldTreeAndVersion.Version : newTextVersion; 594return treeAndVersion.Version.GetNewerVersion(); 642version = treeAndVersion.Version; 661return treeAndVersion.Version; 665return treeAndVersion.Version;
Workspace\Solution\DocumentState_LinkedFileReuse.cs (2)
190if (TryReuseSiblingRoot(filePath, languageServices, loadTextOptions, parseOptions, siblingRoot, siblingTreeAndVersion.Version, out var newTreeAndVersion)) 212if (TryReuseSiblingRoot(filePath, languageServices, loadTextOptions, parseOptions, siblingRoot, siblingTreeAndVersion.Version, out var newTreeAndVersion))