1 write to Version
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextAndVersion.cs (1)
39Version = version;
13 references to Version
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Solution\DocumentState.cs (3)
163return new TreeAndVersion(tree, textAndVersion.Version); 234return MakeNewTreeAndVersion(oldTree, oldText, oldTreeAndVersion.Version, newTree, newText, newTextAndVersion.Version); 589return textAndVersion!.Version.GetNewerVersion();
Workspace\Solution\RecoverableTextAndVersion.cs (2)
84version = textAndVersion.Version; 157Version = textAndVersion.Version;
Workspace\Solution\TextDocumentState.cs (5)
125version = textAndVersion.Version; 161return textAndVersion.Version; 173return textAndVersion.Version; 232return textAndVersion.Version.GetNewerVersion(); 241return textAndVersion.Version;
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
356Assert.Equal(textAndVersion.Version, actualVersion); 836Assert.Equal(textAndVersion.Version, actualVersion); 882Assert.Equal(textAndVersion.Version, actualVersion);