1 write to _taskNode
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
163
_taskNode
= taskInstance as ProjectTaskInstance;
48 references to _taskNode
Microsoft.Build (48)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (48)
165
if (
_taskNode
!= null && requestEntry.Request.HostServices != null)
169
_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.RequestConfiguration.Project.FullPath, loggingContext.Target.Name,
_taskNode
.Name);
177
_taskNode
.Name,
254
if (
_taskNode
== null)
260
List<string> taskParameters = new List<string>(
_taskNode
.ParametersForBuild.Count +
_taskNode
.Outputs.Count);
262
foreach (KeyValuePair<string, (string, ElementLocation)> taskParameter in
_taskNode
.ParametersForBuild)
269
for (int i = 0; i <
_taskNode
.Outputs.Count; i++)
271
ProjectTaskInstanceChild taskOutputSpecification =
_taskNode
.Outputs[i];
290
if (!String.IsNullOrEmpty(
_taskNode
.Condition))
292
taskParameters.Add(
_taskNode
.Condition);
295
if (!String.IsNullOrEmpty(
_taskNode
.ContinueOnError))
297
taskParameters.Add(
_taskNode
.ContinueOnError);
318
if (
_taskNode
!= null)
325
_taskNode
.Name,
326
_taskNode
.Location,
396
ParserOptions parserOptions = (
_taskNode
== null) ? ParserOptions.AllowPropertiesAndItemLists : ParserOptions.AllowAll;
417
if (
_taskNode
== null)
455
MSBuildEventSource.Log.ExecuteTaskStart(
_taskNode
?.Name, taskLoggingContext.BuildEventContext.TaskId);
492
taskLoggingContext,
_taskNode
.Name, _targetChildInstance.Location,
566
MSBuildEventSource.Log.ExecuteTaskStop(
_taskNode
?.Name, taskLoggingContext.BuildEventContext.TaskId);
600
Assumed.NotNull(
_taskNode
); // taskNode should never be null when we're calling this method.
602
string msbuildArchitecture = expander.ExpandIntoStringAndUnescape(
_taskNode
.MSBuildArchitecture ?? String.Empty, ExpanderOptions.ExpandAll,
_taskNode
.MSBuildArchitectureLocation ?? ElementLocation.Empty);
603
string msbuildRuntime = expander.ExpandIntoStringAndUnescape(
_taskNode
.MSBuildRuntime ?? String.Empty, ExpanderOptions.ExpandAll,
_taskNode
.MSBuildRuntimeLocation ?? ElementLocation.Empty);
681
if (
_taskNode
!= null)
697
_taskNode
.Name,
729
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskDeclarationOrUsageError",
_taskNode
.Name);
761
string continueOnErrorAttribute =
_taskNode
.ContinueOnError;
764
if (
_taskNode
.ContinueOnErrorLocation != null)
766
string expandedValue = bucket.Expander.ExpandIntoStringAndUnescape(continueOnErrorAttribute, ExpanderOptions.ExpandAll,
_taskNode
.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata
792
ProjectErrorUtilities.ThrowInvalidProject(
_taskNode
.ContinueOnErrorLocation, "InvalidContinueOnErrorAttribute",
_taskNode
.Name, e.Message);
820
if (!taskExecutionHost.SetTaskParameters(
_taskNode
.ParametersForBuild))
823
ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskParametersError",
_taskNode
.Name, String.Empty);
904
_taskNode
.Name);
1012
_taskNode
.Name);
1022
_taskNode
.Name);
1045
taskLoggingContext.LogComment(MessageImportance.Normal, "TaskReturnedFalseButDidNotLogError",
_taskNode
.Name);
1052
_taskNode
.Name);
1060
_taskNode
.Name);
1086
if (
_taskNode
.ContinueOnErrorLocation != null)
1088
settingString = bucket.Expander.ExpandIntoStringAndUnescape(
_taskNode
.ContinueOnError, ExpanderOptions.ExpandAll,
_taskNode
.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata
1095
_taskNode
.Name,
1160
foreach (ProjectTaskInstanceChild taskOutputSpecification in
_taskNode
.Outputs)
1270
string taskParameterAttribute =
_taskNode
.GetParameter(taskParameterName);