10 references to Version
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\Document.cs (2)
116
var projectVersion = this.Project.
Version
;
133
var projectVersion = this.Project.
Version
;
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (7)
VisualStudioMSBuildWorkspaceTests.cs (7)
392
var pversion = project.
Version
;
404
Assert.Equal(project.
Version
, document1.Project.
Version
); // updating doc should not have changed project version
415
Assert.NotEqual(document1.Project.
Version
, document2.Project.
Version
); // project did change, so project versions should be different
416
Assert.True(document2.Project.
Version
.GetTestAccessor().IsNewerThan(document1.Project.
Version
));
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
4566
VersionStamp GetVersion() => solution.GetProject(pid).
Version
;