98 references to Create
Microsoft.Build.Engine.OM.UnitTests (93)
Construction\ProjectChooseElement_Tests.cs (9)
37
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
55
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
74
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
98
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
117
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
137
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
157
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
177
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
253
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectExtensionsElement_Tests.cs (2)
55
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
74
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectImportElement_Tests.cs (4)
48
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
65
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
82
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
144
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectImportGroupElement_Tests.cs (5)
189
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
209
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
229
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
246
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
356
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectItemDefinitionElement_Tests.cs (1)
196
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectItemDefinitionGroupElement_Tests.cs (1)
44
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectItemElement_Tests.cs (13)
134
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
162
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
190
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
218
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
238
() => { ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project))); });
261
() => { ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project))); });
303
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
447
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
472
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
497
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
529
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
557
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
585
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(project)));
Construction\ProjectMetadataElement_Tests.cs (8)
61
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
82
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
105
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
127
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
150
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
172
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
198
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
385
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectOnErrorElement_Tests.cs (7)
80
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
106
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
129
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
150
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
170
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
190
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
210
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectOutputElement_Tests.cs (7)
69
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
91
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
113
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
135
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
159
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
181
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
203
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectPropertyElement_Tests.cs (5)
72
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
91
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
110
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
129
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
150
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectRootElement_Tests.cs (10)
274
ProjectRootElement.
Create
(XmlReader.Create(new StringReader("XXX")));
287
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
303
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
320
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
335
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
352
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
406
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
468
ProjectRootElement root1 = ProjectRootElement.
Create
(reader1);
473
ProjectRootElement root2 = ProjectRootElement.
Create
(reader2);
560
ProjectRootElement project = ProjectRootElement.
Create
(reader);
Construction\ProjectTargetElement_Tests.cs (2)
174
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
191
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\ProjectUsingTaskElement_Tests.cs (14)
45
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
62
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
79
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
96
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
113
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
130
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
147
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
164
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
181
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
358
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
378
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
397
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
445
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
466
ProjectRootElement project = ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\UsingTaskBodyElement_Tests.cs (2)
48
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
68
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\UsingTaskParameterElement_Tests.cs (1)
92
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Construction\UsingTaskParameterGroup_Tests.cs (1)
129
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)));
Definition\Project_Tests.cs (1)
247
ProjectRootElement.
Create
(reader);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\ResultsCache_Tests.cs (1)
314
resultForRequestWithSubsetFlag1.ProjectStateAfterBuild = new ProjectInstance(ProjectRootElement.
Create
(xmlReader)).FilteredCopy(requestedProjectState1);
Evaluation\ProjectSdkImplicitImport_Tests.cs (4)
305
Project project = new Project(ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content))));
329
() => new Project(ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)))));
397
ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content)))));
421
Project project = new Project(ProjectRootElement.
Create
(XmlReader.Create(new StringReader(content))));