1 write to Version
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextAndVersion.cs (1)
39Version = version;
10 references to Version
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\DocumentState.cs (3)
178return new TreeAndVersion(tree, textAndVersion.Version); 249return MakeNewTreeAndVersion(oldTree, oldText, oldTreeAndVersion.Version, newTree, newText, newTextAndVersion.Version); 586return textAndVersion!.Version.GetNewerVersion();
Workspace\Solution\TextDocumentState.cs (3)
123return textAndVersion.Version; 135return textAndVersion.Version; 205return textAndVersion.Version.GetNewerVersion();
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
153Version = textAndVersion.Version;
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
380Assert.Equal(textAndVersion.Version, actualVersion); 860Assert.Equal(textAndVersion.Version, actualVersion); 906Assert.Equal(textAndVersion.Version, actualVersion);