9 references to TaskRequirements
Microsoft.Build (9)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
424
(
TaskRequirements
? requirements, TaskFactoryWrapper taskFactoryWrapper) = _taskExecutionHost.FindTask(taskIdentityParameters);
436
(requirements.Value &
TaskRequirements
.RequireSTAThread) ==
TaskRequirements
.RequireSTAThread
445
throw new PlatformNotSupportedException(
TaskRequirements
.RequireSTAThread.ToString());
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (5)
269
public (
TaskRequirements
? requirements, TaskFactoryWrapper taskFactoryWrapper) FindTask(IDictionary<string, string> taskIdentityParameters)
278
TaskRequirements
requirements =
TaskRequirements
.None;
282
requirements |=
TaskRequirements
.RequireSTAThread;
287
requirements |=
TaskRequirements
.RequireSeparateAppDomain;