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