1 write to Version
Microsoft.Build (1)
Construction\ProjectRootElement.cs (1)
2129
Version
= Interlocked.Increment(ref s_globalVersionCounter);
18 references to Version
Microsoft.Build (12)
Construction\ProjectRootElement.cs (5)
89
/// Immediately after loading from disk, this has the same value as <see cref="
Version
">version</see>.
223
_versionOnDisk =
Version
;
574
public bool HasUnsavedChanges => Link != null ? RootLink.HasUnsavedChanges :
Version
!= _versionOnDisk;
1552
_versionOnDisk =
Version
;
1604
_versionOnDisk =
Version
;
Definition\Project.cs (4)
2056
if (_evaluatedVersion < Xml.
Version
)
2081
if (import.ImportedProject.
Version
!= import.VersionEvaluated || _evaluatedVersion < import.VersionEvaluated)
3739
int highestXmlVersion = Xml.
Version
;
4287
RecordImport(null, Project.Xml, Project.Xml.
Version
, null);
Evaluation\Evaluator.cs (2)
1395
_data.RecordImport(importElement, importedProjectRootElement, importedProjectRootElement.
Version
, sdkResult);
2158
importedProjectElement.
Version
);
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
21
/// Access to remote <see cref="ProjectRootElement.
Version
"/>.
Microsoft.Build.Engine.OM.UnitTests (6)
Construction\ProjectRootElement_Tests.cs (3)
1863
var version = projectElement.
Version
;
1872
Assert.NotEqual(version, projectElement.
Version
);
1876
Assert.Equal(version, projectElement.
Version
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
535
Assert.Equal(realXml.
Version
, viewXml.
Version
);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
32
public int Version => this.ProjectXml.
Version
;