31 writes to TaskFactory
Microsoft.Build.Engine.OM.UnitTests (16)
Construction\ConstructionEditing_Tests.cs (9)
2647
element.
TaskFactory
= "tf";
2657
usingTask.
TaskFactory
= "f";
2670
usingTask.
TaskFactory
= "f";
2683
usingTask.
TaskFactory
= "f";
2696
usingTask.
TaskFactory
= "f";
2960
usingTask.
TaskFactory
= "f";
2973
usingTask.
TaskFactory
= "f";
2986
usingTask.
TaskFactory
= "f";
2999
usingTask.
TaskFactory
= "f";
Construction\ProjectRootElement_Tests.cs (1)
1181
inlineUt.
TaskFactory
= "SomeFactory";
Construction\ProjectUsingTaskElement_Tests.cs (2)
337
usingTask.
TaskFactory
= "AssemblyFactory";
529
usingTask.
TaskFactory
= value;
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (4)
491
usingTaskFile.VerifySetter("newTaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.
TaskFactory
= v);
524
usingTask.VerifySetter("TaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.
TaskFactory
= v);
539
usingTask.VerifySetter("TaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.
TaskFactory
= v);
559
usingTask.VerifySetter("TaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.
TaskFactory
= v);
Microsoft.Build.Engine.UnitTests (14)
BackEnd\TaskRegistry_Tests.cs (14)
1113
element.
TaskFactory
= "$(Property1)@(ThirdItem)$(Property2)";
1117
element.
TaskFactory
= "";
1121
element.
TaskFactory
= null;
1242
element.
TaskFactory
= typeof(NullTaskTypeTaskFactory).FullName;
1266
element.
TaskFactory
= "SuperDuperFactory";
1298
element.
TaskFactory
= "SuperFactory";
1668
element.
TaskFactory
= "SuperFactory";
1731
element.
TaskFactory
= "SuperFactory";
1755
element.
TaskFactory
= "SuperFactory";
1922
taskbyFile1.
TaskFactory
= "f1";
1939
taskbyName.
TaskFactory
= "f2";
1957
taskByFile2.
TaskFactory
= "f3";
2140
element.
TaskFactory
= "SuperFactory";
2158
element.
TaskFactory
= "SuperFactory";
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TargetTests.cs (1)
959
task.
TaskFactory
= nameof(DummyTaskFactory);
12 references to TaskFactory
Microsoft.Build (3)
Construction\ProjectUsingTaskBodyElement.cs (1)
164
if (parentUsingTask.
TaskFactory
.Length == 0)
Construction\UsingTaskParameterGroupElement.cs (1)
133
if (parentUsingTask.
TaskFactory
.Length == 0)
Instance\TaskRegistry.cs (1)
327
string taskFactory = expander.ExpandIntoStringLeaveEscaped(projectUsingTaskXml.
TaskFactory
, expanderOptions, projectUsingTaskXml.TaskFactoryLocation);
Microsoft.Build.Engine.OM.UnitTests (8)
Construction\ProjectUsingTaskElement_Tests.cs (2)
224
Assert.Equal("AssemblyFactory", usingTask.
TaskFactory
);
338
Assert.Equal("AssemblyFactory", usingTask.
TaskFactory
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
778
Assert.Equal(realXml.
TaskFactory
, viewXml.
TaskFactory
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (4)
491
usingTaskFile.VerifySetter("newTaskFactory", (ut) => ut.
TaskFactory
, (ut, v) => ut.TaskFactory = v);
524
usingTask.VerifySetter("TaskFactory", (ut) => ut.
TaskFactory
, (ut, v) => ut.TaskFactory = v);
539
usingTask.VerifySetter("TaskFactory", (ut) => ut.
TaskFactory
, (ut, v) => ut.TaskFactory = v);
559
usingTask.VerifySetter("TaskFactory", (ut) => ut.
TaskFactory
, (ut, v) => ut.TaskFactory = v);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskRegistry_Tests.cs (1)
1137
string expandedTaskFactory = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
TaskFactory
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.TaskFactoryLocation);