1 write to _taskNode
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
163_taskNode = taskInstance as ProjectTaskInstance;
45 references to _taskNode
Microsoft.Build (45)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (45)
165if (_taskNode != null && requestEntry.Request.HostServices != null) 167_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.RequestConfiguration.Project.FullPath, loggingContext.Target.Name, _taskNode.Name); 241if (_taskNode == null) 247List<string> taskParameters = new List<string>(_taskNode.ParametersForBuild.Count + _taskNode.Outputs.Count); 249foreach (KeyValuePair<string, (string, ElementLocation)> taskParameter in _taskNode.ParametersForBuild) 255foreach (ProjectTaskInstanceChild taskOutputSpecification in _taskNode.Outputs) 277if (!String.IsNullOrEmpty(_taskNode.Condition)) 279taskParameters.Add(_taskNode.Condition); 282if (!String.IsNullOrEmpty(_taskNode.ContinueOnError)) 284taskParameters.Add(_taskNode.ContinueOnError); 305if (_taskNode != null) 308_taskExecutionHost.InitializeForTask(taskHost, _targetLoggingContext, _buildRequestEntry.RequestConfiguration.Project, _taskNode.Name, _taskNode.Location, _taskHostObject, _continueOnError != ContinueOnError.ErrorAndStop, 372ParserOptions parserOptions = (_taskNode == null) ? ParserOptions.AllowPropertiesAndItemLists : ParserOptions.AllowAll; 393if (_taskNode == null) 430MSBuildEventSource.Log.ExecuteTaskStart(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId); 486MSBuildEventSource.Log.ExecuteTaskStop(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId); 522ErrorUtilities.VerifyThrowInternalNull(_taskNode, "taskNode"); // taskNode should never be null when we're calling this method. 524string msbuildArchitecture = expander.ExpandIntoStringAndUnescape(_taskNode.MSBuildArchitecture ?? String.Empty, ExpanderOptions.ExpandAll, _taskNode.MSBuildArchitectureLocation ?? ElementLocation.EmptyLocation); 525string msbuildRuntime = expander.ExpandIntoStringAndUnescape(_taskNode.MSBuildRuntime ?? String.Empty, ExpanderOptions.ExpandAll, _taskNode.MSBuildRuntimeLocation ?? ElementLocation.EmptyLocation); 608if (_taskNode != null) 623_taskNode.Name, 652ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskDeclarationOrUsageError", _taskNode.Name); 687string continueOnErrorAttribute = _taskNode.ContinueOnError; 690if (_taskNode.ContinueOnErrorLocation != null) 692string expandedValue = bucket.Expander.ExpandIntoStringAndUnescape(continueOnErrorAttribute, ExpanderOptions.ExpandAll, _taskNode.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata 718ProjectErrorUtilities.ThrowInvalidProject(_taskNode.ContinueOnErrorLocation, "InvalidContinueOnErrorAttribute", _taskNode.Name, e.Message); 746if (!taskExecutionHost.SetTaskParameters(_taskNode.ParametersForBuild)) 749ProjectErrorUtilities.ThrowInvalidProject(_targetChildInstance.Location, "TaskParametersError", _taskNode.Name, String.Empty); 816_taskNode.Name); 924_taskNode.Name); 934_taskNode.Name); 957taskLoggingContext.LogComment(MessageImportance.Normal, "TaskReturnedFalseButDidNotLogError", _taskNode.Name); 964_taskNode.Name); 972_taskNode.Name); 998if (_taskNode.ContinueOnErrorLocation != null) 1000settingString = bucket.Expander.ExpandIntoStringAndUnescape(_taskNode.ContinueOnError, ExpanderOptions.ExpandAll, _taskNode.ContinueOnErrorLocation); // expand embedded item vectors after expanding properties and item metadata 1007_taskNode.Name, 1071foreach (ProjectTaskInstanceChild taskOutputSpecification in _taskNode.Outputs) 1181string taskParameterAttribute = _taskNode.GetParameter(taskParameterName);