71 references to Cleanup
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\ProjectItem_Tests.cs (7)
937var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 2153</Project>".Cleanup(); 2179</Project>".Cleanup(); 2210</Project>".Cleanup(); 2214var testProject = env.CreateTestProjectWithFiles(projectContents.Cleanup(), new[] { "a.cs" }); 2270</Project>".Cleanup(); 2274var testProject = env.CreateTestProjectWithFiles(projectContents.Cleanup(), new[] { "a.cs" });
Microsoft.Build.Engine.UnitTests (61)
BackEnd\BuildManager_Tests.cs (5)
3986</Project>".Cleanup(); 3993</Project>".Cleanup(); 4001</Project>".Cleanup(); 4008</Project>".Cleanup(); 4023</Project>".Cleanup();
BackEnd\BuildRequestConfiguration_Tests.cs (1)
555".Cleanup();
BackEnd\IntrinsicTask_Tests.cs (1)
272var projectContents = string.Format(TargetitemwithIncludeAndExclude, includeString, excludeString).Cleanup();
Definition\Project_Internal_Tests.cs (1)
232</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 (20)
37using ProjectFromString projectFromString = new(projectContent.Cleanup()); 59using ProjectFromString projectFromString = new(projectContent.Cleanup()); 81using ProjectFromString projectFromString = new(projectContent.Cleanup()); 103using ProjectFromString projectFromString = new(projectContent.Cleanup()); 123using ProjectFromString projectFromString = new(projectContent.Cleanup()); 145using ProjectFromString projectFromString = new(projectContent.Cleanup()); 167using ProjectFromString projectFromString = new(projectContent.Cleanup()); 189using ProjectFromString projectFromString = new(projectContent.Cleanup()); 209using ProjectFromString projectFromString = new(projectContent.Cleanup()); 231using ProjectFromString projectFromString = new(projectContent.Cleanup()); 253using ProjectFromString projectFromString = new(projectContent.Cleanup()); 275using ProjectFromString projectFromString = new(projectContent.Cleanup()); 295using ProjectFromString projectFromString = new(projectContent.Cleanup()); 317using ProjectFromString projectFromString = new(projectContent.Cleanup()); 339using ProjectFromString projectFromString = new(projectContent.Cleanup()); 361using ProjectFromString projectFromString = new(projectContent.Cleanup()); 381using ProjectFromString projectFromString = new(projectContent.Cleanup()); 403using ProjectFromString projectFromString = new(projectContent.Cleanup()); 425using ProjectFromString projectFromString = new(projectContent.Cleanup()); 447using ProjectFromString projectFromString = new(projectContent.Cleanup());
Evaluation\ItemEvaluation_Tests.cs (5)
579".Cleanup(); 587".Cleanup(); 649""".Cleanup(); 677".Cleanup(); 713".Cleanup();
Graph\GraphLoadedFromSolution_tests.cs (1)
73</ItemGroup>".Cleanup();
Graph\IsolateProjects_Tests.cs (8)
297</Target>".Cleanup(), 298undeclaredReferenceFile).Cleanup(); 314</Target>".Cleanup(), 316declaredReferenceFile).Cleanup(); 521_project.Cleanup(), 531.Cleanup(); 580".Cleanup()).Path; 597".Cleanup()).Path;
Graph\ProjectGraph_Tests.cs (5)
1298</ItemGroup>".Cleanup()) 1312</ItemGroup>".Cleanup()) 1346</ItemGroup>".Cleanup()); 2084</ItemGroup>".Cleanup(); 2189</ItemGroup>".Cleanup();
Parser_Tests.cs (1)
574".Cleanup();
ProjectCache\ProjectCacheTests.cs (5)
878</Project>".Cleanup()); 885</Project>".Cleanup()); 1115</Project>".Cleanup()); 1337</Project>".Cleanup()); 1577".Cleanup();
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
1404var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1461var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1817return extraContent.Cleanup();