2 writes to _projectFileLocation
Microsoft.Build (2)
Construction\ProjectRootElement.cs (2)
436_projectFileLocation = ElementLocation.Create(newFullPath); 2107_projectFileLocation = ElementLocation.Create(fullPath);
10 references to _projectFileLocation
Microsoft.Build (10)
Construction\ProjectRootElement.cs (10)
414get => Link != null ? RootLink.FullPath : _projectFileLocation?.File; 425string oldFullPath = _projectFileLocation?.File; 660public ElementLocation ProjectFileLocation => Link != null ? RootLink.ProjectFileLocation : _projectFileLocation ?? ElementLocation.EmptyLocation; 705internal bool IsMemberOfProjectCollection => _projectFileLocation != null; 1546ErrorUtilities.VerifyThrowInvalidOperation(_projectFileLocation != null, "OM_MustSetFileNameBeforeSave"); 1553MSBuildEventSource.Log.SaveStart(_projectFileLocation.LocationString); 1559using (var projectWriter = new ProjectWriter(_projectFileLocation.File, saveEncoding)) 1567FileInfo fileInfo = FileUtilities.GetFileInfoNoThrow(_projectFileLocation.File); 1586MSBuildEventSource.Log.SaveStop(_projectFileLocation.LocationString); 1890if (_projectFileLocation != null)