4 overrides of Location
Microsoft.Build (4)
Instance\ProjectItemGroupTaskInstance.cs (1)
105
public override ElementLocation
Location
Instance\ProjectOnErrorInstance.cs (1)
94
public override ElementLocation
Location
Instance\ProjectPropertyGroupTaskInstance.cs (1)
105
public override ElementLocation
Location
Instance\ProjectTaskInstance.cs (1)
286
public override ElementLocation
Location
18 references to Location
Microsoft.Build (16)
BackEnd\Components\Logging\TaskLoggingContext.cs (4)
53
task.
Location
.File,
54
task.
Location
.Line,
55
task.
Location
.Column,
137
_task.
Location
.File,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (11)
177
new BuildEventFileInfo(taskInstance.
Location
),
322
taskHost = new TaskHost(_componentHost, _buildRequestEntry, _targetChildInstance.
Location
, _targetBuilderCallback);
342
buckets = BatchingEngine.PrepareBatchingBuckets(taskParameterValues, lookup, _targetChildInstance.
Location
, _targetLoggingContext);
683
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.
Location
, "TaskDeclarationOrUsageError", _taskNode.Name);
776
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.
Location
, "TaskParametersError", _taskNode.Name, String.Empty);
842
new BuildEventFileInfo(_targetChildInstance.
Location
),
904
ProjectErrorUtilities.ThrowInvalidProject(taskLoggingContext.Task.
Location
, "CircularDependency", taskLoggingContext.TargetLoggingContext.Target.Name);
950
new BuildEventFileInfo(_targetChildInstance.
Location
),
960
new BuildEventFileInfo(_targetChildInstance.
Location
),
989
new BuildEventFileInfo(_targetChildInstance.
Location
),
997
taskLoggingContext.LogError(new BuildEventFileInfo(_targetChildInstance.
Location
),
Instance\ProjectTargetInstanceChild.cs (1)
29
get { return
Location
.File; }
Microsoft.Build.Engine.UnitTests (2)
BackEnd\MockTaskBuilder.cs (2)
97
lookupForInference.AddNewItem(new ProjectItemInstance(requestEntry.RequestConfiguration.Project, taskInstance.Name + "_Item", "Item", task.
Location
.File));
101
lookupForExecution.AddNewItem(new ProjectItemInstance(requestEntry.RequestConfiguration.Project, taskInstance.Name + "_Item", "Item", task.
Location
.File));