81 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 (71)
BackEnd\BuildManager_Tests.cs (5)
4029</Project>".Cleanup(); 4036</Project>".Cleanup(); 4044</Project>".Cleanup(); 4051</Project>".Cleanup(); 4066</Project>".Cleanup();
BackEnd\BuildRequestConfiguration_Tests.cs (4)
554".Cleanup(); 586""".Cleanup(); 624""".Cleanup(); 656""".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)
71</ItemGroup>".Cleanup();
Graph\IsolateProjects_Tests.cs (8)
295</Target>".Cleanup(), 296undeclaredReferenceFile).Cleanup(); 312</Target>".Cleanup(), 314declaredReferenceFile).Cleanup(); 519_project.Cleanup(), 529.Cleanup(); 578".Cleanup()).Path; 595".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)
895</Project>".Cleanup()); 902</Project>".Cleanup()); 1132</Project>".Cleanup()); 1354</Project>".Cleanup()); 1594".Cleanup();
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
1414var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1471var testProject = env.CreateTestProjectWithFiles(content.Cleanup()); 1827return extraContent.Cleanup();