4 overrides of Location
Microsoft.Build (4)
Instance\ProjectItemGroupTaskInstance.cs (1)
105public override ElementLocation Location
Instance\ProjectOnErrorInstance.cs (1)
94public override ElementLocation Location
Instance\ProjectPropertyGroupTaskInstance.cs (1)
105public override ElementLocation Location
Instance\ProjectTaskInstance.cs (1)
286public override ElementLocation Location
17 references to Location
Microsoft.Build (15)
BackEnd\Components\Logging\TaskLoggingContext.cs (4)
53task.Location.File, 54task.Location.Line, 55task.Location.Column, 137_task.Location.File,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (10)
307taskHost = new TaskHost(_componentHost, _buildRequestEntry, _targetChildInstance.Location, _targetBuilderCallback); 316buckets = BatchingEngine.PrepareBatchingBuckets(taskParameterValues, lookup, _targetChildInstance.Location, _targetLoggingContext); 656ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskDeclarationOrUsageError", _taskNode.Name); 753ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskParametersError", _taskNode.Name, String.Empty); 819new BuildEventFileInfo(_targetChildInstance.Location), 881ProjectErrorUtilities.ThrowInvalidProject(taskLoggingContext.Task.Location, "CircularDependency", taskLoggingContext.TargetLoggingContext.Target.Name); 927new BuildEventFileInfo(_targetChildInstance.Location), 937new BuildEventFileInfo(_targetChildInstance.Location), 966new BuildEventFileInfo(_targetChildInstance.Location), 974taskLoggingContext.LogError(new BuildEventFileInfo(_targetChildInstance.Location),
Instance\ProjectTargetInstanceChild.cs (1)
31get { return Location.File; }
Microsoft.Build.Engine.UnitTests (2)
BackEnd\MockTaskBuilder.cs (2)
102lookupForInference.AddNewItem(new ProjectItemInstance(requestEntry.RequestConfiguration.Project, taskInstance.Name + "_Item", "Item", task.Location.File)); 106lookupForExecution.AddNewItem(new ProjectItemInstance(requestEntry.RequestConfiguration.Project, taskInstance.Name + "_Item", "Item", task.Location.File));