2 writes to _projectFileLocation
Microsoft.Build (2)
Construction\ProjectRootElement.cs (2)
418
_projectFileLocation
= ElementLocation.Create(newFullPath);
2072
_projectFileLocation
= ElementLocation.Create(fullPath);
10 references to _projectFileLocation
Microsoft.Build (10)
Construction\ProjectRootElement.cs (10)
396
get => Link != null ? RootLink.FullPath :
_projectFileLocation
?.File;
407
string oldFullPath =
_projectFileLocation
?.File;
642
public ElementLocation ProjectFileLocation => Link != null ? RootLink.ProjectFileLocation :
_projectFileLocation
?? ElementLocation.EmptyLocation;
687
internal bool IsMemberOfProjectCollection =>
_projectFileLocation
!= null;
1516
ErrorUtilities.VerifyThrowInvalidOperation(
_projectFileLocation
!= null, "OM_MustSetFileNameBeforeSave");
1523
MSBuildEventSource.Log.SaveStart(
_projectFileLocation
.LocationString);
1529
using (var projectWriter = new ProjectWriter(
_projectFileLocation
.File, saveEncoding))
1537
FileInfo fileInfo = FileUtilities.GetFileInfoNoThrow(
_projectFileLocation
.File);
1556
MSBuildEventSource.Log.SaveStop(
_projectFileLocation
.LocationString);
1855
if (
_projectFileLocation
!= null)