4 instantiations of TaskFactoryWrapper
Microsoft.Build (3)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
918returnClass = new TaskFactoryWrapper(new IntrinsicTaskFactory(typeof(MSBuild)), new LoadedType(typeof(MSBuild), AssemblyLoadInfo.Create(taskExecutionHostAssembly.FullName, null), taskExecutionHostAssembly, typeof(ITaskItem)), _taskName, null); 924returnClass = new TaskFactoryWrapper(new IntrinsicTaskFactory(typeof(CallTarget)), new LoadedType(typeof(CallTarget), AssemblyLoadInfo.Create(taskExecutionHostAssembly.FullName, null), taskExecutionHostAssembly, typeof(ITaskItem)), _taskName, null);
Instance\TaskRegistry.cs (1)
1549_taskFactoryWrapperInstance = new TaskFactoryWrapper(factory, loadedType, RegisteredName, TaskFactoryParameters);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskExecutionHost_Tests.cs (1)
1253(_host as TaskExecutionHost)._UNITTESTONLY_TaskFactoryWrapper = new TaskFactoryWrapper(taskFactory, loadedType, taskName, null);
12 references to TaskFactoryWrapper
Microsoft.Build (12)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
424(TaskRequirements? requirements, TaskFactoryWrapper taskFactoryWrapper) = _taskExecutionHost.FindTask(taskIdentityParameters);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (7)
130private TaskFactoryWrapper _taskFactoryWrapper; 157private readonly Dictionary<string, TaskFactoryWrapper> _intrinsicTasks = new Dictionary<string, TaskFactoryWrapper>(StringComparer.OrdinalIgnoreCase); 213internal TaskFactoryWrapper _UNITTESTONLY_TaskFactoryWrapper 269public (TaskRequirements? requirements, TaskFactoryWrapper taskFactoryWrapper) FindTask(IDictionary<string, string> taskIdentityParameters) 859private TaskFactoryWrapper FindTaskInRegistry(IDictionary<string, string> taskIdentityParameters) 861if (!_intrinsicTasks.TryGetValue(_taskName, out TaskFactoryWrapper returnClass))
Instance\TaskRegistry.cs (4)
458internal TaskFactoryWrapper GetRegisteredTask( 469TaskFactoryWrapper taskFactory = null; 1137private TaskFactoryWrapper _taskFactoryWrapperInstance; 1355internal TaskFactoryWrapper GetTaskFactoryFromRegistrationRecord(string taskName, string taskProjectFile, IDictionary<string, string> taskIdentityParameters, TargetLoggingContext targetLoggingContext, ElementLocation elementLocation)