36 references to Create
Microsoft.Build (9)
Construction\ProjectRootElement.cs (2)
418
_projectFileLocation = ElementLocation.
Create
(newFullPath);
2072
_projectFileLocation = ElementLocation.
Create
(fullPath);
Definition\ProjectCollection.cs (1)
355
ProjectErrorUtilities.ThrowInvalidProject(ElementLocation.
Create
("MSBUILD"), "InvalidProperty", ex.Message);
Evaluation\ProjectParser.cs (1)
134
ProjectErrorUtilities.ThrowInvalidProject(ElementLocation.
Create
(_document.FullPath), "NoRootProjectElement", XMakeElements.project);
Graph\ProjectGraph.cs (1)
679
ElementLocation.
Create
(Solution.FullPath),
Instance\ProjectInstance.cs (4)
375
_projectFileLocation = ElementLocation.
Create
(projectPath);
432
_projectFileLocation = ElementLocation.
Create
(projectPath);
534
_projectFileLocation = ElementLocation.
Create
(projectFile);
648
_projectFileLocation = ElementLocation.
Create
(fullPath);
Microsoft.Build.Engine.UnitTests (27)
BackEnd\AssemblyTaskFactory_Tests.cs (19)
59
taskFactory.InitializeFactory(null, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
71
taskFactory.InitializeFactory(_loadInfo, null, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
83
taskFactory.InitializeFactory(_loadInfo, String.Empty, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
95
taskFactory.InitializeFactory(_loadInfo, "RandomTask", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
248
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
279
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
310
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
343
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
376
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
411
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
444
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
475
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
510
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
539
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
572
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
605
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
639
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
662
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
691
_loadedType = _taskFactory.InitializeFactory(_loadInfo, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, factoryParameters, explicitlyLaunchTaskHost, null, ElementLocation.
Create
("NONE"), String.Empty);
BackEnd\TaskExecutionHost_Tests.cs (7)
144
parameters["ExecuteReturnParam"] = ("true", ElementLocation.
Create
("foo.proj"));
170
parameters["NonExistentParam"] = ("foo", ElementLocation.
Create
("foo.proj"));
609
parameters["ExecuteReturnParam"] = ("true", ElementLocation.
Create
("foo.proj"));
625
parameters["ExecuteReturnParam"] = ("false", ElementLocation.
Create
("foo.proj"));
643
parameters["ExecuteReturnParam"] = ("false", ElementLocation.
Create
("foo.proj"));
1484
parameters[parameterName] = (value, ElementLocation.
Create
("foo.proj"));
1495
parameters["ExecuteReturnParam"] = (returnParam ? "true" : "false", ElementLocation.
Create
("foo.proj"));
Construction\ElementLocation_Tests.cs (1)
234
IElementLocation location = ElementLocation.
Create
(null);