4 writes to TaskName
Microsoft.Build (1)
Construction\ProjectUsingTaskElement.cs (1)
245
TaskName
= taskName,
Microsoft.Build.Engine.OM.UnitTests (3)
Construction\ConstructionEditing_Tests.cs (1)
2615
element.
TaskName
= "n2";
Construction\ProjectUsingTaskElement_Tests.cs (1)
307
usingTask.
TaskName
= "tt";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
492
usingTaskFile.VerifySetter("newTaskName", (ut) => ut.TaskName, (ut, v) => ut.
TaskName
= v);
20 references to TaskName
Microsoft.Build (3)
Construction\ProjectUsingTaskElement.cs (1)
274
return owner.CreateUsingTaskElement(
TaskName
, AssemblyFile, AssemblyName, Runtime, Architecture);
Instance\TaskRegistry.cs (2)
317
string taskName = expander.ExpandIntoStringLeaveEscaped(projectUsingTaskXml.
TaskName
, expanderOptions, projectUsingTaskXml.TaskNameLocation);
324
projectUsingTaskXml.
TaskName
,
Microsoft.Build.Engine.OM.UnitTests (9)
Construction\ProjectUsingTaskElement_Tests.cs (4)
192
Assert.Equal("t1", usingTask.
TaskName
);
206
Assert.Equal("t2", usingTask.
TaskName
);
220
Assert.Equal("t2", usingTask.
TaskName
);
308
Assert.Equal("tt", usingTask.
TaskName
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
775
Assert.Equal(realXml.
TaskName
, viewXml.
TaskName
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
98
xmlPair.Add2NewChildrenWithVerify<ProjectUsingTaskElement>("NewUsingTaskFile", (p, n) => p.AddUsingTask(n, "assemblyFile", null), (ut, n) => ut.
TaskName
== n, out var newUsinTaskFile1, out var newUsingTaskFile2);
99
xmlPair.Add2NewChildrenWithVerify<ProjectUsingTaskElement>("NewUsingTaskName", (p, n) => p.AddUsingTask(n, null, "assemblyName"), (ut, n) => ut.
TaskName
== n, out var newUsinTaskName1, out var newUsingTaskName2);
492
usingTaskFile.VerifySetter("newTaskName", (ut) => ut.
TaskName
, (ut, v) => ut.TaskName = v);
Microsoft.Build.Engine.UnitTests (7)
BackEnd\TaskRegistry_Tests.cs (7)
117
List<TaskRegistry.RegisteredTaskRecord> registrationRecords = registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity(taskElement.
TaskName
, null)];
157
List<TaskRegistry.RegisteredTaskRecord> registrationRecords = registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity(taskElement.
TaskName
, null)];
201
List<TaskRegistry.RegisteredTaskRecord> singletonBucket = registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity(elementList[1].
TaskName
, null)];
210
List<TaskRegistry.RegisteredTaskRecord> duplicateBucket = registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity(elementList[0].
TaskName
, null)];
264
List<TaskRegistry.RegisteredTaskRecord> registrationRecords = registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity(taskElement.
TaskName
, null)];
1134
string expandedtaskName = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
TaskName
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.TaskNameLocation);
1191
string expandedtaskName = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
TaskName
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.TaskNameLocation);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
249
string evaluatedTaskName = EvaluateIfNecessary(usingTask.
TaskName
, containingProject);