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)
383
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)
382
_projectFileLocation = ElementLocation.
Create
(projectPath);
435
_projectFileLocation = ElementLocation.
Create
(projectPath);
565
_projectFileLocation = ElementLocation.
Create
(projectFile);
680
_projectFileLocation = ElementLocation.
Create
(fullPath);
Microsoft.Build.Engine.UnitTests (27)
BackEnd\AssemblyTaskFactory_Tests.cs (19)
66
taskFactory.InitializeFactory(null, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, TaskHostParameters.Empty, false, null, ElementLocation.
Create
("NONE"), String.Empty);
78
taskFactory.InitializeFactory(_loadInfo, null, new Dictionary<string, TaskPropertyInfo>(), string.Empty, TaskHostParameters.Empty, false, null, ElementLocation.
Create
("NONE"), String.Empty);
90
taskFactory.InitializeFactory(_loadInfo, String.Empty, new Dictionary<string, TaskPropertyInfo>(), string.Empty, TaskHostParameters.Empty, false, null, ElementLocation.
Create
("NONE"), String.Empty);
102
taskFactory.InitializeFactory(_loadInfo, "RandomTask", new Dictionary<string, TaskPropertyInfo>(), string.Empty, TaskHostParameters.Empty, false, null, ElementLocation.
Create
("NONE"), String.Empty);
248
ElementLocation.
Create
("MSBUILD"),
286
ElementLocation.
Create
("MSBUILD"),
324
ElementLocation.
Create
("MSBUILD"),
364
ElementLocation.
Create
("MSBUILD"),
404
ElementLocation.
Create
("MSBUILD"),
446
ElementLocation.
Create
("MSBUILD"),
486
ElementLocation.
Create
("MSBUILD"),
524
ElementLocation.
Create
("MSBUILD"),
566
ElementLocation.
Create
("MSBUILD"),
604
ElementLocation.
Create
("MSBUILD"),
644
ElementLocation.
Create
("MSBUILD"),
684
ElementLocation.
Create
("MSBUILD"),
725
ElementLocation.
Create
("MSBUILD"),
755
ElementLocation.
Create
("MSBUILD"),
799
_loadedType = _taskFactory.InitializeFactory(_loadInfo, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, factoryParameters, explicitlyLaunchTaskHost, new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4)), 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"));
1485
parameters[parameterName] = (value, ElementLocation.
Create
("foo.proj"));
1496
parameters["ExecuteReturnParam"] = (returnParam ? "true" : "false", ElementLocation.
Create
("foo.proj"));
Construction\ElementLocation_Tests.cs (1)
234
IElementLocation location = ElementLocation.
Create
(null);