1 write to _taskNode
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
165
_taskNode
= taskInstance as ProjectTaskInstance;
47 references to _taskNode
Microsoft.Build (47)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (47)
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);
555
Assumed.NotNull(
_taskNode
); // taskNode should never be null when we're calling this method.
557
string msbuildArchitecture = expander.ExpandIntoStringAndUnescape(
_taskNode
.MSBuildArchitecture ?? String.Empty, ExpanderOptions.ExpandAll,
_taskNode
.MSBuildArchitectureLocation ?? ElementLocation.EmptyLocation);
558
string msbuildRuntime = expander.ExpandIntoStringAndUnescape(
_taskNode
.MSBuildRuntime ?? String.Empty, ExpanderOptions.ExpandAll,
_taskNode
.MSBuildRuntimeLocation ?? ElementLocation.EmptyLocation);
636
if (
_taskNode
!= null)
652
_taskNode
.Name,
681
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskDeclarationOrUsageError",
_taskNode
.Name);
712
string continueOnErrorAttribute =
_taskNode
.ContinueOnError;
715
if (
_taskNode
.ContinueOnErrorLocation != null)
717
string expandedValue = bucket.Expander.ExpandIntoStringAndUnescape(continueOnErrorAttribute, ExpanderOptions.ExpandAll,
_taskNode
.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata
743
ProjectErrorUtilities.ThrowInvalidProject(
_taskNode
.ContinueOnErrorLocation, "InvalidContinueOnErrorAttribute",
_taskNode
.Name, e.Message);
771
if (!taskExecutionHost.SetTaskParameters(
_taskNode
.ParametersForBuild))
774
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskParametersError",
_taskNode
.Name, String.Empty);
855
_taskNode
.Name);
963
_taskNode
.Name);
973
_taskNode
.Name);
996
taskLoggingContext.LogComment(MessageImportance.Normal, "TaskReturnedFalseButDidNotLogError",
_taskNode
.Name);
1003
_taskNode
.Name);
1011
_taskNode
.Name);
1037
if (
_taskNode
.ContinueOnErrorLocation != null)
1039
settingString = bucket.Expander.ExpandIntoStringAndUnescape(
_taskNode
.ContinueOnError, ExpanderOptions.ExpandAll,
_taskNode
.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata
1046
_taskNode
.Name,
1110
foreach (ProjectTaskInstanceChild taskOutputSpecification in
_taskNode
.Outputs)
1220
string taskParameterAttribute =
_taskNode
.GetParameter(taskParameterName);