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)
382ProjectErrorUtilities.ThrowInvalidProject(ElementLocation.Create("MSBUILD"), "InvalidProperty", ex.Message);
Evaluation\ProjectParser.cs (1)
134ProjectErrorUtilities.ThrowInvalidProject(ElementLocation.Create(_document.FullPath), "NoRootProjectElement", XMakeElements.project);
Graph\ProjectGraph.cs (1)
679ElementLocation.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)
60taskFactory.InitializeFactory(null, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty); 72taskFactory.InitializeFactory(_loadInfo, null, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty); 84taskFactory.InitializeFactory(_loadInfo, String.Empty, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty); 96taskFactory.InitializeFactory(_loadInfo, "RandomTask", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty); 249createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 282createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters, 315createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters, 350createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 385createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 422createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters, 457createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 490createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters, 527createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters, 558createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 593createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 628createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), taskParameters, 664createdTask = _taskFactory.CreateTaskInstance(ElementLocation.Create("MSBUILD"), null, new MockHost(), null, 689createdTask = _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)
144parameters["ExecuteReturnParam"] = ("true", ElementLocation.Create("foo.proj")); 170parameters["NonExistentParam"] = ("foo", ElementLocation.Create("foo.proj")); 609parameters["ExecuteReturnParam"] = ("true", ElementLocation.Create("foo.proj")); 625parameters["ExecuteReturnParam"] = ("false", ElementLocation.Create("foo.proj")); 643parameters["ExecuteReturnParam"] = ("false", ElementLocation.Create("foo.proj")); 1476parameters[parameterName] = (value, ElementLocation.Create("foo.proj")); 1487parameters["ExecuteReturnParam"] = (returnParam ? "true" : "false", ElementLocation.Create("foo.proj"));
Construction\ElementLocation_Tests.cs (1)
234IElementLocation location = ElementLocation.Create(null);