1 write to _taskNode
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
165
_taskNode
= taskInstance as ProjectTaskInstance;
48 references to _taskNode
Microsoft.Build (48)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (48)
167
if (
_taskNode
!= null && requestEntry.Request.HostServices != null)
171
_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.RequestConfiguration.Project.FullPath, loggingContext.Target.Name,
_taskNode
.Name);
179
_taskNode
.Name,
256
if (
_taskNode
== null)
262
List<string> taskParameters = new List<string>(
_taskNode
.ParametersForBuild.Count +
_taskNode
.Outputs.Count);
264
foreach (KeyValuePair<string, (string, ElementLocation)> taskParameter in
_taskNode
.ParametersForBuild)
271
for (int i = 0; i <
_taskNode
.Outputs.Count; i++)
273
ProjectTaskInstanceChild taskOutputSpecification =
_taskNode
.Outputs[i];
292
if (!String.IsNullOrEmpty(
_taskNode
.Condition))
294
taskParameters.Add(
_taskNode
.Condition);
297
if (!String.IsNullOrEmpty(
_taskNode
.ContinueOnError))
299
taskParameters.Add(
_taskNode
.ContinueOnError);
320
if (
_taskNode
!= null)
327
_taskNode
.Name,
328
_taskNode
.Location,
398
ParserOptions parserOptions = (
_taskNode
== null) ? ParserOptions.AllowPropertiesAndItemLists : ParserOptions.AllowAll;
419
if (
_taskNode
== null)
456
MSBuildEventSource.Log.ExecuteTaskStart(
_taskNode
?.Name, taskLoggingContext.BuildEventContext.TaskId);
521
MSBuildEventSource.Log.ExecuteTaskStop(
_taskNode
?.Name, taskLoggingContext.BuildEventContext.TaskId);
557
ErrorUtilities.VerifyThrowInternalNull(
_taskNode
, "taskNode"); // taskNode should never be null when we're calling this method.
559
string msbuildArchitecture = expander.ExpandIntoStringAndUnescape(
_taskNode
.MSBuildArchitecture ?? String.Empty, ExpanderOptions.ExpandAll,
_taskNode
.MSBuildArchitectureLocation ?? ElementLocation.EmptyLocation);
560
string msbuildRuntime = expander.ExpandIntoStringAndUnescape(
_taskNode
.MSBuildRuntime ?? String.Empty, ExpanderOptions.ExpandAll,
_taskNode
.MSBuildRuntimeLocation ?? ElementLocation.EmptyLocation);
638
if (
_taskNode
!= null)
654
_taskNode
.Name,
683
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskDeclarationOrUsageError",
_taskNode
.Name);
714
string continueOnErrorAttribute =
_taskNode
.ContinueOnError;
717
if (
_taskNode
.ContinueOnErrorLocation != null)
719
string expandedValue = bucket.Expander.ExpandIntoStringAndUnescape(continueOnErrorAttribute, ExpanderOptions.ExpandAll,
_taskNode
.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata
745
ProjectErrorUtilities.ThrowInvalidProject(
_taskNode
.ContinueOnErrorLocation, "InvalidContinueOnErrorAttribute",
_taskNode
.Name, e.Message);
773
if (!taskExecutionHost.SetTaskParameters(
_taskNode
.ParametersForBuild))
776
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskParametersError",
_taskNode
.Name, String.Empty);
829
using (FullTracking.Track(taskLoggingContext.TargetLoggingContext.Target.Name,
_taskNode
.Name, _buildRequestEntry.ProjectRootDirectory, _buildRequestEntry.RequestConfiguration.Project.PropertiesToBuildWith))
843
_taskNode
.Name);
951
_taskNode
.Name);
961
_taskNode
.Name);
984
taskLoggingContext.LogComment(MessageImportance.Normal, "TaskReturnedFalseButDidNotLogError",
_taskNode
.Name);
991
_taskNode
.Name);
999
_taskNode
.Name);
1025
if (
_taskNode
.ContinueOnErrorLocation != null)
1027
settingString = bucket.Expander.ExpandIntoStringAndUnescape(
_taskNode
.ContinueOnError, ExpanderOptions.ExpandAll,
_taskNode
.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata
1034
_taskNode
.Name,
1098
foreach (ProjectTaskInstanceChild taskOutputSpecification in
_taskNode
.Outputs)
1208
string taskParameterAttribute =
_taskNode
.GetParameter(taskParameterName);