78 references to Cleanup
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\ProjectItem_Tests.cs (7)
935var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 2151</Project>".Cleanup(); 2177</Project>".Cleanup(); 2208</Project>".Cleanup(); 2212var testProject = env.CreateTestProjectWithFiles(projectContents.Cleanup(), new[] { "a.cs" }); 2268</Project>".Cleanup(); 2272var testProject = env.CreateTestProjectWithFiles(projectContents.Cleanup(), new[] { "a.cs" });
Microsoft.Build.Engine.UnitTests (68)
BackEnd\BuildManager_Tests.cs (5)
4030</Project>".Cleanup(); 4037</Project>".Cleanup(); 4045</Project>".Cleanup(); 4052</Project>".Cleanup(); 4067</Project>".Cleanup();
BackEnd\BuildRequestConfiguration_Tests.cs (1)
555".Cleanup();
BackEnd\IntrinsicTask_Tests.cs (1)
271var projectContents = string.Format(TargetitemwithIncludeAndExclude, includeString, excludeString).Cleanup();
Definition\Project_Internal_Tests.cs (1)
231</Project>".Cleanup();
Definition\ProjectEvaluationContext_Tests.cs (6)
100_env.CreateFile("1.proj", @"<Project> <PropertyGroup Condition=`Exists('1.file')`></PropertyGroup> </Project>".Cleanup()).Path, 101_env.CreateFile("2.proj", @"<Project> <PropertyGroup Condition=`Exists('2.file')`></PropertyGroup> </Project>".Cleanup()).Path 144var projectFile = _env.CreateFile("1.proj", @"<Project> <Import Project='1.file' Condition=`Exists('1.file')`/> <ItemGroup><Compile Include='*.cs'/></ItemGroup> </Project>".Cleanup()).Path; 763File.WriteAllText(Path.Combine(projectDirectory, $"{evaluationCount}.props"), $"<Project><ItemGroup><i Include=`{evaluationCount}.cs`/></ItemGroup></Project>".Cleanup()); 773File.WriteAllText(Path.Combine(projectDirectory, $"{evaluationCount}.props"), $"<Project><ItemGroup><i Include=`{evaluationCount}.cs`/></ItemGroup></Project>".Cleanup()); 993File.WriteAllText(projectFilePath, projectContents.Cleanup());
Evaluation\EvaluationLogging_Tests.cs (2)
58</Project>".Cleanup(); 71</Project>".Cleanup();
Evaluation\IntrinsicFunctionOverload_Tests.cs (27)
36using ProjectFromString projectFromString = new(projectContent.Cleanup()); 58using ProjectFromString projectFromString = new(projectContent.Cleanup()); 80using ProjectFromString projectFromString = new(projectContent.Cleanup()); 102using ProjectFromString projectFromString = new(projectContent.Cleanup()); 122using ProjectFromString projectFromString = new(projectContent.Cleanup()); 144using ProjectFromString projectFromString = new(projectContent.Cleanup()); 162using ProjectFromString projectFromString = new(projectContent.Cleanup()); 185using ProjectFromString projectFromString = new(projectContent.Cleanup()); 203using ProjectFromString projectFromString = new(projectContent.Cleanup()); 226using ProjectFromString projectFromString = new(projectContent.Cleanup()); 244using ProjectFromString projectFromString = new(projectContent.Cleanup()); 267using ProjectFromString projectFromString = new(projectContent.Cleanup()); 289using ProjectFromString projectFromString = new(projectContent.Cleanup()); 311using ProjectFromString projectFromString = new(projectContent.Cleanup()); 331using ProjectFromString projectFromString = new(projectContent.Cleanup()); 353using ProjectFromString projectFromString = new(projectContent.Cleanup()); 375using ProjectFromString projectFromString = new(projectContent.Cleanup()); 397using ProjectFromString projectFromString = new(projectContent.Cleanup()); 417using ProjectFromString projectFromString = new(projectContent.Cleanup()); 439using ProjectFromString projectFromString = new(projectContent.Cleanup()); 461using ProjectFromString projectFromString = new(projectContent.Cleanup()); 483using ProjectFromString projectFromString = new(projectContent.Cleanup()); 503using ProjectFromString projectFromString = new(projectContent.Cleanup()); 525using ProjectFromString projectFromString = new(projectContent.Cleanup()); 547using ProjectFromString projectFromString = new(projectContent.Cleanup()); 569using ProjectFromString projectFromString = new(projectContent.Cleanup()); 590using ProjectFromString projectFromString = new(projectContent.Cleanup());
Evaluation\ItemEvaluation_Tests.cs (5)
580".Cleanup(); 588".Cleanup(); 650""".Cleanup(); 678".Cleanup(); 714".Cleanup();
Graph\GraphLoadedFromSolution_tests.cs (1)
72</ItemGroup>".Cleanup();
Graph\IsolateProjects_Tests.cs (8)
296</Target>".Cleanup(), 297undeclaredReferenceFile).Cleanup(); 313</Target>".Cleanup(), 315declaredReferenceFile).Cleanup(); 520_project.Cleanup(), 530.Cleanup(); 579".Cleanup()).Path; 596".Cleanup()).Path;
Graph\ProjectGraph_Tests.cs (5)
1299</ItemGroup>".Cleanup()) 1313</ItemGroup>".Cleanup()) 1347</ItemGroup>".Cleanup()); 2085</ItemGroup>".Cleanup(); 2190</ItemGroup>".Cleanup();
Parser_Tests.cs (1)
574".Cleanup();
ProjectCache\ProjectCacheTests.cs (5)
896</Project>".Cleanup()); 903</Project>".Cleanup()); 1133</Project>".Cleanup()); 1355</Project>".Cleanup()); 1595".Cleanup();
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
1415var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1472var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1828return extraContent.Cleanup();