3 writes to _taskFactoryWrapper
Microsoft.Build (3)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (3)
216set => _taskFactoryWrapper = value; 271_taskFactoryWrapper ??= FindTaskInRegistry(taskIdentityParameters); 557_taskFactoryWrapper = null;
29 references to _taskFactoryWrapper
Microsoft.Build (29)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (29)
215get => _taskFactoryWrapper; 273if (_taskFactoryWrapper is null) 280if (_taskFactoryWrapper.TaskFactoryLoadedType.HasSTAThreadAttribute) 285if (_taskFactoryWrapper.TaskFactoryLoadedType.HasLoadInSeparateAppDomainAttribute) 294return (requirements, _taskFactoryWrapper); 308if (_taskFactoryWrapper == null) 337realTaskAssemblyLoaction != _taskFactoryWrapper.TaskFactoryLoadedType.Path) 339_taskLoggingContext.LogComment(MessageImportance.Normal, "TaskAssemblyLocationMismatch", realTaskAssemblyLoaction, _taskFactoryWrapper.TaskFactoryLoadedType.Path); 426ErrorUtilities.VerifyThrow(_taskFactoryWrapper != null, "Need a taskFactoryWrapper to retrieve outputs from."); 432TaskPropertyInfo parameter = _taskFactoryWrapper.GetProperty(parameterName); 433foreach (TaskPropertyInfo prop in _taskFactoryWrapper.TaskFactoryLoadedType.Properties) 452_taskFactoryWrapper.GetNamesOfPropertiesWithOutputAttribute.ContainsKey(parameterName), 533if (_taskFactoryWrapper != null && TaskInstance != null) 535_taskFactoryWrapper.TaskFactory.CleanupTask(TaskInstance); 803object outputs = _taskFactoryWrapper.GetPropertyValue(TaskInstance, parameter); 818object outputs = _taskFactoryWrapper.GetPropertyValue(TaskInstance, parameter); 941if (_taskFactoryWrapper.TaskFactory is AssemblyTaskFactory assemblyTaskFactory) 954task = _taskFactoryWrapper.TaskFactory is ITaskFactory2 taskFactory2 ? 956_taskFactoryWrapper.TaskFactory.CreateTask(loggingHost); 972_taskFactoryWrapper.TaskFactory.FactoryName, 983_taskFactoryWrapper.TaskFactory.FactoryName, 993_taskFactoryWrapper.TaskFactory.FactoryName, 1016LoadedType loadedType = _taskFactoryWrapper.TaskFactoryLoadedType; 1044parameter = _taskFactoryWrapper.GetProperty(parameterName); 1104_taskFactoryWrapper.TaskFactoryLoadedType.LoadedAssemblyName.FullName, 1105_taskFactoryWrapper.TaskFactoryLoadedType.Path); 1336_taskFactoryWrapper.SetPropertyValue(TaskInstance, parameter, parameterValue); 1598ErrorUtilities.VerifyThrow(_taskFactoryWrapper != null, "Expected taskFactoryWrapper to not be null"); 1603requiredParameters = _taskFactoryWrapper.GetNamesOfPropertiesWithRequiredAttribute;