7 references to TaskNameCreatableByFactory
Microsoft.Build (1)
Instance\TaskRegistry.cs (1)
1301
bool createable = ((AssemblyTaskFactory)_taskFactoryWrapperInstance.TaskFactory).
TaskNameCreatableByFactory
(taskName, taskIdentityParameters, taskProjectFile, targetLoggingContext, elementLocation);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\AssemblyTaskFactory_Tests.cs (6)
134
Assert.True(_taskFactory.
TaskNameCreatableByFactory
("TaskToTestFactories", null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
143
Assert.False(_taskFactory.
TaskNameCreatableByFactory
("NotInAssembly", null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
154
Assert.False(_taskFactory.
TaskNameCreatableByFactory
(String.Empty, null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
165
Assert.False(_taskFactory.
TaskNameCreatableByFactory
(null, null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
185
Assert.True(_taskFactory.
TaskNameCreatableByFactory
("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1)));
205
Assert.False(_taskFactory.
TaskNameCreatableByFactory
("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1)));