36 references to Create
Microsoft.Build (9)
Construction\ProjectRootElement.cs (2)
436
_projectFileLocation = ElementLocation.
Create
(newFullPath);
2107
_projectFileLocation = ElementLocation.
Create
(fullPath);
Definition\ProjectCollection.cs (1)
382
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)
381
_projectFileLocation = ElementLocation.
Create
(projectPath);
434
_projectFileLocation = ElementLocation.
Create
(projectPath);
564
_projectFileLocation = ElementLocation.
Create
(projectFile);
679
_projectFileLocation = ElementLocation.
Create
(fullPath);
Microsoft.Build.Engine.UnitTests (27)
BackEnd\AssemblyTaskFactory_Tests.cs (19)
60
taskFactory.InitializeFactory(null, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
72
taskFactory.InitializeFactory(_loadInfo, null, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
84
taskFactory.InitializeFactory(_loadInfo, String.Empty, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
96
taskFactory.InitializeFactory(_loadInfo, "RandomTask", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.
Create
("NONE"), String.Empty);
249
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
282
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
315
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
350
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
385
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
422
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
457
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
490
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
527
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
558
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
593
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
628
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
664
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), null,
689
createdTask = _taskFactory.CreateTaskInstance(ElementLocation.
Create
("MSBUILD"), null, new MockHost(), taskParameters,
725
_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"));
1476
parameters[parameterName] = (value, ElementLocation.
Create
("foo.proj"));
1487
parameters["ExecuteReturnParam"] = (returnParam ? "true" : "false", ElementLocation.
Create
("foo.proj"));
Construction\ElementLocation_Tests.cs (1)
234
IElementLocation location = ElementLocation.
Create
(null);