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