111 references to new
Microsoft.Build.Engine.OM.UnitTests (85)
Construction\ProjectChooseElement_Tests.cs (2)
196using ProjectRootElementFromString projectRootElementFromString = new(content); 220using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectExtensionsElement_Tests.cs (6)
34using ProjectRootElementFromString projectRootElementFromString = new(content); 120using ProjectRootElementFromString projectRootElementFromString = new(content); 146using ProjectRootElementFromString projectRootElementFromString = new(content); 172using ProjectRootElementFromString projectRootElementFromString = new(content); 195using ProjectRootElementFromString projectRootElementFromString = new(content); 214using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectImportElement_Tests.cs (4)
98using ProjectRootElementFromString projectRootElementFromString = new(content); 121using ProjectRootElementFromString projectRootElementFromString = new(content); 258using ProjectRootElementFromString projectFileProject = new(projectfileContent); 261using ProjectRootElementFromString targetsFileProject = new(targetsfileContent);
Construction\ProjectImportGroupElement_Tests.cs (7)
34using ProjectRootElementFromString projectRootElementFromString = new(content); 74using ProjectRootElementFromString projectRootElementFromString = new(content); 120using ProjectRootElementFromString projectRootElementFromString = new(content); 164using ProjectRootElementFromString projectRootElementFromString = new(content); 264using ProjectRootElementFromString projectRootElementFromString = new(content); 296using ProjectRootElementFromString projectRootElementFromString = new(content); 328using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectItemDefinitionElement_Tests.cs (3)
34using ProjectRootElementFromString projectRootElementFromString = new(content); 58using ProjectRootElementFromString projectRootElementFromString = new(content); 107using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectItemDefinitionGroupElement_Tests.cs (2)
59using ProjectRootElementFromString projectRootElementFromString = new(content); 84using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectItemElement_Tests.cs (3)
357using ProjectRootElementFromString projectRootElementFromString = new(project); 410using ProjectRootElementFromString projectRootElementFromString = new(project); 1041using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectItemGroupElement_tests.cs (2)
39using ProjectRootElementFromString projectRootElementFromString = new(content); 61using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectMetadataElement_Tests.cs (8)
299using ProjectRootElementFromString projectRootElementFromString = new(project); 326using ProjectRootElementFromString projectRootElementFromString = new(project); 405using ProjectRootElementFromString projectRootElementFromString = new(content); 427using ProjectRootElementFromString projectRootElementFromString = new(project); 452using ProjectRootElementFromString projectRootElementFromString = new(project); 486using ProjectRootElementFromString projectRootElementFromString = new(project); 511using ProjectRootElementFromString projectRootElementFromString = new(project); 1269using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectOnErrorElement_Tests.cs (2)
49using ProjectRootElementFromString projectRootElementFromString = new(content); 301using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectOutputElement_Tests.cs (2)
290using ProjectRootElementFromString projectRootElementFromString = new(content); 313using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectPropertyElement_Tests.cs (2)
47using ProjectRootElementFromString projectRootElementFromString = new(content); 278using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectPropertyGroupElement_Tests.cs (2)
39using ProjectRootElementFromString projectRootElementFromString = new(content); 61using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectRootElement_Tests.cs (11)
219using ProjectRootElementFromString projectRootElementFromString = new(content); 238using ProjectRootElementFromString projectRootElementFromString = new(content); 369using ProjectRootElementFromString projectRootElementFromString = new(content); 703using ProjectRootElementFromString projectRootElementFromStringUTF16 = new(ObjectModelHelpers.CleanupFileContents(@"<?xml version=""1.0"" encoding=""utf-16""?> 709using ProjectRootElementFromString projectRootElementFromStringUTF8 = new(ObjectModelHelpers.CleanupFileContents(@"<?xml version=""1.0"" encoding=""utf-8""?> 715using ProjectRootElementFromString projectRootElementFromStringASCII = new(ObjectModelHelpers.CleanupFileContents(@"<?xml version=""1.0"" encoding=""us-ascii""?> 754using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.CleanupFileContents(@" 823using ProjectRootElementFromString projectRootElementFromString = new(content); 881using ProjectRootElementFromString projectRootElementFromString = new(content); 1269using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.CleanupFileContents(project)); 1975using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectTargetElement_Tests.cs (2)
58using ProjectRootElementFromString projectRootElementFromString = new(content); 382using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectTaskElement_Tests.cs (1)
300using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\ProjectUsingTaskElement_Tests.cs (4)
420using ProjectRootElementFromString projectRootElementFromString = new(content); 482using ProjectRootElementFromString projectRootElementFromString = new(content); 500using ProjectRootElementFromString projectRootElementFromString = new(content); 517using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\UsingTaskBodyElement_Tests.cs (1)
138using ProjectRootElementFromString projectRootElementFromString = new(content);
Construction\UsingTaskParameterElement_Tests.cs (1)
227using ProjectRootElementFromString projectRootElementFromString = new(contents);
Construction\UsingTaskParameterGroup_Tests.cs (1)
138using ProjectRootElementFromString projectRootElementFromString = new(contents);
Definition\Project_Tests.cs (10)
108using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 134using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 162using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 597using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 642using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 677using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 710using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 746using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 784using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 4379using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent);
Definition\ProjectMetadata_Tests.cs (1)
52using ProjectRootElementFromString projectRootElementFromString = new(content);
Definition\ProjectProperty_Tests.cs (1)
286using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectItemInstance_Tests.cs (1)
1164using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectOnErrorInstance_Tests.cs (1)
43using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectTargetInstance_Tests.cs (1)
144using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectTaskInstance_Tests.cs (1)
73using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectTaskOutputItemInstance_Tests.cs (1)
46using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectTaskOutputPropertyInstance_Tests.cs (1)
46using ProjectRootElementFromString projectRootElementFromString = new(content);
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
171using ProjectRootElementFromString projectRootElementFromString = new(content);
Microsoft.Build.Engine.UnitTests (25)
BackEnd\IntrinsicTask_Tests.cs (1)
3519using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.CleanupFileContents(@"
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
464using ProjectRootElementFromString projectRootElementFromString = new(projectfileContent); 467using ProjectRootElementFromString projectRootElementFromtargetString = new(targetsfileContent);
Definition\ProjectItem_Tests.cs (1)
78using ProjectRootElementFromString projectRootElementFromString = new(content);
Evaluation\Preprocessor_Tests.cs (4)
359using ProjectRootElementFromString projectRootElementFromString = new(two); 824using ProjectRootElementFromString projectRootElementFromString = new(content); 879using ProjectRootElementFromString projectRootElementFromString = new(content); 1107using ProjectRootElementFromString projectRootElementFromString = new(content);
Evaluation\ProjectSdkImplicitImport_Tests.cs (7)
109using ProjectRootElementFromString projectRootElementFromString = new(content); 132using ProjectRootElementFromString projectRootElementFromString = new(content); 199using ProjectRootElementFromString projectRootElementFromString = new(content); 243using ProjectRootElementFromString projectRootElementFromString = new(content); 277using ProjectRootElementFromString projectRootElementFromString = new(content); 333using ProjectRootElementFromString projectRootElementFromString = new(content); 443using ProjectRootElementFromString projectRootElementFromString = new(content);
Instance\ProjectInstance_Internal_Tests.cs (7)
69using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 117using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 415using ProjectRootElementFromString projectRootElementFromString = new(projectContent); 689using ProjectRootElementFromString projectRootElementFromString = new(ObjectModelHelpers.CleanupFileContents(projectContents)); 782using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 818using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent); 862using ProjectRootElementFromString projectRootElementFromString = new(projectFileContent);
Instance\TaskItem_Tests.cs (3)
275using ProjectRootElementFromString projectRootElementFromString = new(content); 329using ProjectRootElementFromString projectRootElementFromString = new(content); 364using ProjectRootElementFromString projectRootElementFromString = new(content);
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1100using ProjectRootElementFromString projectRootElementFromString = new(CleanupFileContents(content));