Implemented interface member:
property
File
Microsoft.Build.Shared.IMSBuildElementLocation.File
2 overrides of File
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (2)
270
public override string
File
348
public override string
File
43 references to File
Microsoft.Build (43)
BackEnd\Components\Logging\TargetLoggingContext.cs (2)
46
projectLoggingContext.BuildEventContext, target.Name, projectFullPath, target.Location.
File
,
100
LoggingService.LogTargetFinished(BuildEventContext, _target.Name, projectFullPath, _target.Location.
File
, success, targetOutputWrapper);
BackEnd\Components\Logging\TaskLoggingContext.cs (2)
53
task.Location.
File
,
137
_task.Location.
File
,
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
475
originalItem.Location.
File
,
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
574
TargetFile = currentTargetEntry.Target.Location.
File
,
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
387
TargetFile = _target.Location.
File
,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
196
return _taskLocation.
File
;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1491
string parameterLocationEscaped = EscapingUtilities.Escape(parameterLocation.
File
, cache: true);
1651
_batchBucket.Lookup.AddNewItem(new ProjectItemInstance(_projectInstance, outputTargetName, EscapingUtilities.Escape(output), EscapingUtilities.Escape(parameterLocation.
File
)));
Construction\ProjectRootElement.cs (4)
414
get => Link != null ? RootLink.FullPath : _projectFileLocation?.
File
;
425
string oldFullPath = _projectFileLocation?.
File
;
1553
using (var projectWriter = new ProjectWriter(_projectFileLocation.
File
, saveEncoding))
1561
FileInfo fileInfo = FileUtilities.GetFileInfoNoThrow(_projectFileLocation.
File
);
Construction\Solution\SolutionProjectGenerator.cs (1)
1056
if (traversalInstance.Targets[targetName].Location.
File
== traversalProject.FullPath)
Definition\Project.cs (2)
1815
ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(Xml, otherXml), "OM_CannotModifyEvaluatedObjectInImportedFile", otherXml.Location.
File
);
3594
ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(Xml, otherXml), "OM_CannotModifyEvaluatedObjectInImportedFile", otherXml.Location.
File
);
ElementLocation\ElementLocation.cs (3)
74
get { return GetLocationString(
File
, Line, Column); }
120
if (!String.Equals(this.
File
, that.File, StringComparison.OrdinalIgnoreCase))
145
string file =
File
;
ElementLocation\XmlAttributeWithLocation.cs (1)
77
if (!String.Equals(_elementLocation.
File
, ownerDocumentWithLocation.FullPath ?? String.Empty, StringComparison.OrdinalIgnoreCase))
ElementLocation\XmlElementWithLocation.cs (1)
97
if (!String.Equals(_elementLocation.
File
, ownerDocumentWithLocation.FullPath ?? String.Empty, StringComparison.OrdinalIgnoreCase))
Evaluation\Evaluator.cs (10)
237
string.IsNullOrEmpty(projectRootElement.ProjectFileLocation.
File
) ? "(null)" : projectRootElement.ProjectFileLocation.
File
);
329
MSBuildEventSource.Log.EvaluateStart(root.ProjectFileLocation.
File
);
357
evaluator._evaluationLoggingContext.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.
File
),
376
MSBuildEventSource.Log.EvaluateStop(root.ProjectFileLocation.
File
);
636
string projectFile = string.IsNullOrEmpty(_projectRootElement.ProjectFileLocation.
File
) ? "(null)" : _projectRootElement.ProjectFileLocation.
File
;
655
MSBuildEventSource.Log.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.
File
);
1062
_evaluationLoggingContext.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.
File
, targetName, targetElement.Location.
File
);
Evaluation\Profiler\EvaluationProfiler.cs (1)
72
return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFileLineAndElement(element.Location.
File
, element.Location.Line, element)) : null;
Evaluation\ProjectParser.cs (2)
116
MSBuildEventSource.Log.ParseStart(projectRootElement.ProjectFileLocation.
File
);
121
MSBuildEventSource.Log.ParseStop(projectRootElement.ProjectFileLocation.
File
);
Instance\ProjectInstance.cs (1)
1236
get => _projectFileLocation?.
File
?? string.Empty;
Instance\ProjectTargetInstance.cs (1)
345
get { return _location.
File
; }
Instance\ProjectTargetInstanceChild.cs (1)
28
get { return Location.
File
; }
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
400
taskLocation.
File
,
Instance\TaskFactoryEngineContext.cs (1)
147
return _elementLocation.
File
;
Instance\TaskRegistry.cs (1)
1580
new BuildEventFileInfo(elementLocation.
File
, elementLocation.Line, elementLocation.Column),
Xml\ProjectXmlUtilities.cs (2)
100
if (Path.GetExtension(element.Location.
File
).Equals(".dwproj", StringComparison.OrdinalIgnoreCase))
108
throw new UnbuildableProjectTypeException(element.Location.
File
);