1 write to Version
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextAndVersion.cs (1)
39Version = version;
14 references to Version
Microsoft.CodeAnalysis.Workspaces (11)
Workspace\Solution\ConstantTextAndVersionSource.cs (2)
41version = _value.Version; 46=> new(_value.Version);
Workspace\Solution\DocumentState.cs (3)
176return new TreeAndVersion(tree, textAndVersion.Version); 247return MakeNewTreeAndVersion(oldTree, oldText, oldTreeAndVersion.Version, newTree, newText, newTextAndVersion.Version); 573return textAndVersion!.Version.GetNewerVersion();
Workspace\Solution\TextDocumentState.cs (3)
123return textAndVersion.Version; 135return textAndVersion.Version; 211return textAndVersion.Version.GetNewerVersion();
Workspace\Solution\VersionSource\LoadableTextAndVersionSource.cs (2)
143version = value.Version; 150return value.Version;
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
153Version = textAndVersion.Version;
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
378Assert.Equal(textAndVersion.Version, actualVersion); 946Assert.Equal(textAndVersion.Version, actualVersion); 992Assert.Equal(textAndVersion.Version, actualVersion);