581 references to Create
Microsoft.Build.BuildCheck.UnitTests (17)
ConfigurationProvider_Tests.cs (7)
21using TestEnvironment testEnvironment = TestEnvironment.Create(); 42using TestEnvironment testEnvironment = TestEnvironment.Create(); 69using TestEnvironment testEnvironment = TestEnvironment.Create(); 102using TestEnvironment testEnvironment = TestEnvironment.Create(); 127using TestEnvironment testEnvironment = TestEnvironment.Create(); 158using TestEnvironment testEnvironment = TestEnvironment.Create(); 190using TestEnvironment testEnvironment = TestEnvironment.Create();
EditorConfigParser_Tests.cs (2)
63using TestEnvironment testEnvironment = TestEnvironment.Create(); 95using TestEnvironment testEnvironment = TestEnvironment.Create();
EndToEndTests.cs (5)
30_env = TestEnvironment.Create(output); 670using (var env = TestEnvironment.Create()) 850using (var env = TestEnvironment.Create()) 883using (var env = TestEnvironment.Create()) 911using (var env = TestEnvironment.Create())
TaskInvocationAnalysisDataTests.cs (1)
82using (var env = TestEnvironment.Create(_output))
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
Microsoft.Build.CommandLine.UnitTests (29)
CommandLineSwitches_Tests.cs (3)
1133using (TestEnvironment env = TestEnvironment.Create()) 1421using (TestEnvironment env = TestEnvironment.Create()) 1602using TestEnvironment testEnvironment = TestEnvironment.Create();
MSBuildMultithreaded_Tests.cs (1)
119_env = TestEnvironment.Create(output);
MSBuildServer_Tests.cs (1)
85_env = TestEnvironment.Create(_output);
PerfLog_Tests.cs (2)
25using (TestEnvironment testEnv = TestEnvironment.Create(_output)) 60using (TestEnvironment testEnv = TestEnvironment.Create(_output))
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
XMake_BinlogSwitch_Tests.cs (1)
28_env = TestEnvironment.Create(output);
XMake_Tests.cs (19)
82_env = TestEnvironment.Create(_output); 554using TestEnvironment env = TestEnvironment.Create(); 594using TestEnvironment env = TestEnvironment.Create(); 777using TestEnvironment env = TestEnvironment.Create(); 813using TestEnvironment env = TestEnvironment.Create(); 867using TestEnvironment env = TestEnvironment.Create(); 886using TestEnvironment env = TestEnvironment.Create(); 920using TestEnvironment env = TestEnvironment.Create(); 948using TestEnvironment env = TestEnvironment.Create(); 1010using TestEnvironment testEnvironment = TestEnvironment.Create(); 1220using TestEnvironment testEnvironment = TestEnvironment.Create(); 1368using (TestEnvironment env = TestEnvironment.Create()) 2661using (var env = TestEnvironment.Create()) 2688using (var env = TestEnvironment.Create()) 2991using TestEnvironment testEnvironment = TestEnvironment.Create(); 3023using TestEnvironment testEnvironment = TestEnvironment.Create(); 3047using var testEnvironment = TestEnvironment.Create(); 3091using TestEnvironment testEnvironment = TestEnvironment.Create(); 3135using TestEnvironment testEnvironment = TestEnvironment.Create();
Microsoft.Build.Engine.OM.UnitTests (46)
Construction\ConstructionEditing_Tests.cs (1)
3208using (var env = TestEnvironment.Create())
Construction\ProjectRootElement_Tests.cs (4)
1287using (var env = TestEnvironment.Create()) 1326using (var env = TestEnvironment.Create()) 1588using (var env = TestEnvironment.Create()) 1728using (var env = TestEnvironment.Create())
Construction\ProjectTargetElement_Tests.cs (1)
345using (TestEnvironment env = TestEnvironment.Create())
Construction\SolutionFile_Tests.cs (1)
711using (TestEnvironment testEnvironment = TestEnvironment.Create())
Definition\DefinitionEditing_Tests.cs (1)
1695using (var env = TestEnvironment.Create())
Definition\Project_Tests.cs (17)
1442using (var env = TestEnvironment.Create()) 1507using (var env = TestEnvironment.Create()) 1593using (var env = TestEnvironment.Create()) 3249using (var env = TestEnvironment.Create()) 3277using (var env = TestEnvironment.Create()) 3570using (var env = TestEnvironment.Create()) 3763using (var env = TestEnvironment.Create()) 3840using (var env = TestEnvironment.Create()) 3859using (var env = TestEnvironment.Create()) 3888using (var env = TestEnvironment.Create(_output)) 3931using (var env = TestEnvironment.Create(_output)) 3970using (var env = TestEnvironment.Create(_output)) 4015using (var env = TestEnvironment.Create(_output)) 4062using (var env = TestEnvironment.Create(_output)) 4102using (var env = TestEnvironment.Create(_output)) 4145using (var env = TestEnvironment.Create(_output)) 4190using (var env = TestEnvironment.Create(_output))
Definition\ProjectItem_Tests.cs (18)
62_env = TestEnvironment.Create(); 447using (TestEnvironment env = TestEnvironment.Create()) 776using (var env = TestEnvironment.Create()) 823using (var env = TestEnvironment.Create()) 931using (var env = TestEnvironment.Create()) 1096using (var env = TestEnvironment.Create()) 1149using (var env = TestEnvironment.Create()) 1169using (var env = TestEnvironment.Create()) 2153using (var env = TestEnvironment.Create()) 2179using (var env = TestEnvironment.Create()) 2210using (var env = TestEnvironment.Create()) 2270using (var env = TestEnvironment.Create()) 2552using (var env = TestEnvironment.Create()) 2589using (var env = TestEnvironment.Create()) 3115using var env = TestEnvironment.Create(); 3315using var env = TestEnvironment.Create(); 3705using (var env = TestEnvironment.Create()) 3744using (var env = TestEnvironment.Create())
NugetRestoreTests.cs (1)
38using TestEnvironment testEnvironment = TestEnvironment.Create();
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
Microsoft.Build.Engine.UnitTests (327)
BackEnd\AppHostSupport_Tests.cs (3)
88using (TestEnvironment env = TestEnvironment.Create(_output)) 113using (TestEnvironment env = TestEnvironment.Create(_output)) 141using (TestEnvironment env = TestEnvironment.Create(_output))
BackEnd\AssemblyTaskFactory_E2E_Tests.cs (2)
30using TestEnvironment env = TestEnvironment.Create(_output); 51using TestEnvironment env = TestEnvironment.Create(_output);
BackEnd\BuildManager_Logging_Tests.cs (1)
74_env = TestEnvironment.Create(output);
BackEnd\BuildManager_Tests.cs (4)
86_env = TestEnvironment.Create(output); 3731using (var env = TestEnvironment.Create()) 4068using (var env = TestEnvironment.Create(_output)) 4120using (var env = TestEnvironment.Create())
BackEnd\BuildRequestConfiguration_Tests.cs (1)
30_env = TestEnvironment.Create(testOutput);
BackEnd\CacheAggregator_Tests.cs (6)
47using (var env = TestEnvironment.Create()) 60using (var env = TestEnvironment.Create()) 86using (var env = TestEnvironment.Create()) 113using (var env = TestEnvironment.Create()) 136using (var env = TestEnvironment.Create()) 167using (var env = TestEnvironment.Create())
BackEnd\DebugUtils_tests.cs (3)
48using TestEnvironment env = TestEnvironment.Create(); 82using TestEnvironment env = TestEnvironment.Create(); 116using (TestEnvironment env = TestEnvironment.Create())
BackEnd\GenerateTemporaryTargetAssembly_Tests.cs (1)
19using (TestEnvironment testenv = TestEnvironment.Create())
BackEnd\IntrinsicTask_Tests.cs (2)
1823using (var env = TestEnvironment.Create()) 2522using (var env = TestEnvironment.Create())
BackEnd\MSBuild_Tests.cs (5)
779using TestEnvironment env = TestEnvironment.Create(); 810using TestEnvironment env = TestEnvironment.Create(); 854using TestEnvironment env = TestEnvironment.Create(); 2014using TestEnvironment env = TestEnvironment.Create(_testOutput); 2083using TestEnvironment env = TestEnvironment.Create(_testOutput);
BackEnd\ResultsCache_Tests.cs (1)
402using (var env = TestEnvironment.Create())
BackEnd\SdkResolverLoader_Tests.cs (8)
217using (var env = TestEnvironment.Create(_output)) 242using (var env = TestEnvironment.Create(_output)) 269using (var env = TestEnvironment.Create(_output)) 293using (var env = TestEnvironment.Create(_output)) 309using (var env = TestEnvironment.Create(_output)) 333using (var env = TestEnvironment.Create(_output)) 361using (var env = TestEnvironment.Create(_output)) 407using (var env = TestEnvironment.Create(_output))
BackEnd\SdkResultOutOfProc_Tests.cs (1)
53_env = TestEnvironment.Create(output);
BackEnd\TargetBuilder_Tests.cs (2)
221using (var env = TestEnvironment.Create()) 258using (var env = TestEnvironment.Create())
BackEnd\TargetEntry_Tests.cs (1)
645using (var env = TestEnvironment.Create(_output))
BackEnd\TaskBuilder_Tests.cs (3)
78using TestEnvironment env = TestEnvironment.Create(); 130using (TestEnvironment env = TestEnvironment.Create(_testOutput)) 644using var env = TestEnvironment.Create();
BackEnd\TaskExecutionHost_Tests.cs (1)
1066using TestEnvironment env = TestEnvironment.Create();
BackEnd\TaskHost_MultiThreadableTask_Tests.cs (1)
31_env = TestEnvironment.Create(output);
BackEnd\TaskHostCallback_Tests.cs (12)
40using TestEnvironment env = TestEnvironment.Create(_output); 71using TestEnvironment env = TestEnvironment.Create(_output); 115using TestEnvironment env = TestEnvironment.Create(_output); 146using TestEnvironment env = TestEnvironment.Create(_output); 178using TestEnvironment env = TestEnvironment.Create(_output); 224using TestEnvironment env = TestEnvironment.Create(_output); 279using TestEnvironment env = TestEnvironment.Create(_output); 328using TestEnvironment env = TestEnvironment.Create(_output); 367using TestEnvironment env = TestEnvironment.Create(_output); 405using TestEnvironment env = TestEnvironment.Create(_output); 452using TestEnvironment env = TestEnvironment.Create(_output); 491using TestEnvironment env = TestEnvironment.Create(_output);
BackEnd\TaskHostFactory_Tests.cs (4)
51using (TestEnvironment env = TestEnvironment.Create()) 158using (TestEnvironment env = TestEnvironment.Create(_output)) 225using TestEnvironment env = TestEnvironment.Create(_output); 376using TestEnvironment env = TestEnvironment.Create();
BackEnd\TaskRegistry_Tests.cs (1)
612using (var env = TestEnvironment.Create(_output))
BackEnd\TaskRouter_IntegrationTests.cs (1)
36_env = TestEnvironment.Create(output);
BinaryLogger_Tests.cs (7)
80_env = TestEnvironment.Create(output); 112using var env = TestEnvironment.Create(); 331using (TestEnvironment env = TestEnvironment.Create()) 376using (TestEnvironment env = TestEnvironment.Create()) 598using var env = TestEnvironment.Create(); 642using (TestEnvironment env = TestEnvironment.Create()) 757using (TestEnvironment env = TestEnvironment.Create())
ChangeWaves_Tests.cs (8)
80using (TestEnvironment env = TestEnvironment.Create()) 101using (TestEnvironment env = TestEnvironment.Create()) 122using (TestEnvironment env = TestEnvironment.Create()) 139using (TestEnvironment env = TestEnvironment.Create()) 159using (TestEnvironment env = TestEnvironment.Create()) 183using (TestEnvironment env = TestEnvironment.Create()) 197using (TestEnvironment env = TestEnvironment.Create()) 220using (TestEnvironment env = TestEnvironment.Create())
CLR2TaskHost_E2E_Tests.cs (1)
41using TestEnvironment env = TestEnvironment.Create(_output);
ConsoleLogger_Tests.cs (3)
188using var env = TestEnvironment.Create(_output); 228using var env = TestEnvironment.Create(_output); 271using var env = TestEnvironment.Create(_output);
Construction\ProjectImportElement_Tests.cs (3)
20using (TestEnvironment testEnvironment = TestEnvironment.Create()) 57using (TestEnvironment testEnvironment = TestEnvironment.Create()) 97using (var env = TestEnvironment.Create())
Construction\ProjectRootElement_Tests.cs (2)
69using (var env = TestEnvironment.Create()) 100using (var env = TestEnvironment.Create())
Construction\SolutionFile_NewParser_Tests.cs (1)
132using (TestEnvironment testEnvironment = TestEnvironment.Create())
Construction\SolutionFile_OldParser_Tests.cs (2)
295using (var env = TestEnvironment.Create()) 771using (var env = TestEnvironment.Create())
Construction\SolutionFilter_Tests.cs (5)
50using (TestEnvironment testEnvironment = TestEnvironment.Create()) 210using (TestEnvironment testEnvironment = TestEnvironment.Create()) 228using (TestEnvironment testEnvironment = TestEnvironment.Create()) 289using TestEnvironment testEnvironment = TestEnvironment.Create(); 391using TestEnvironment testEnvironment = TestEnvironment.Create();
Construction\SolutionProjectGenerator_Tests.cs (22)
66using (TestEnvironment testEnvironment = TestEnvironment.Create()) 95using (TestEnvironment testEnvironment = TestEnvironment.Create()) 118using (TestEnvironment testEnvironment = TestEnvironment.Create()) 163using (TestEnvironment testEnvironment = TestEnvironment.Create()) 238using (TestEnvironment testEnvironment = TestEnvironment.Create()) 399using (TestEnvironment testEnvironment = TestEnvironment.Create()) 440using (TestEnvironment testEnvironment = TestEnvironment.Create()) 517using (TestEnvironment testEnvironment = TestEnvironment.Create()) 558using (TestEnvironment testEnvironment = TestEnvironment.Create()) 925using (TestEnvironment env = TestEnvironment.Create()) 1316using (TestEnvironment testEnvironment = TestEnvironment.Create()) 1388using (TestEnvironment testEnvironment = TestEnvironment.Create()) 1584using (TestEnvironment testEnvironment = TestEnvironment.Create()) 1958using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2019using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2108using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2371using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2429using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2488using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2541using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2919using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2971using (TestEnvironment testEnvironment = TestEnvironment.Create())
Definition\Project_Internal_Tests.cs (4)
233using (var env = TestEnvironment.Create()) 270using (TestEnvironment testEnvironment = TestEnvironment.Create()) 298using (TestEnvironment testEnvironment = TestEnvironment.Create()) 326using (TestEnvironment testEnvironment = TestEnvironment.Create())
Definition\ProjectEvaluationContext_Tests.cs (1)
32_env = TestEnvironment.Create();
Evaluation\EvaluationLogging_Tests.cs (1)
73using (var env = TestEnvironment.Create())
Evaluation\Evaluator_Tests.cs (11)
56using TestEnvironment env = TestEnvironment.Create(); 74using (TestEnvironment env = TestEnvironment.Create()) 105using (TestEnvironment env = TestEnvironment.Create()) 979using (TestEnvironment env = TestEnvironment.Create()) 1742using (var env = TestEnvironment.Create()) 1826using (var env = TestEnvironment.Create()) 4597using (var env = TestEnvironment.Create()) 4646using (TestEnvironment testEnvironment = TestEnvironment.Create()) 4675using (TestEnvironment testEnvironment = TestEnvironment.Create()) 5030using (TestEnvironment env = TestEnvironment.Create()) 5078using (TestEnvironment env = TestEnvironment.Create())
Evaluation\Expander_Tests.cs (44)
2634using (var env = TestEnvironment.Create()) 4889using (var env = TestEnvironment.Create()) 4933using (var env = TestEnvironment.Create()) 4968using (var env = TestEnvironment.Create()) 5008using (var env = TestEnvironment.Create()) 5049using (var env = TestEnvironment.Create()) 5089using (var env = TestEnvironment.Create()) 5132using (var env = TestEnvironment.Create()) 5179using (var env = TestEnvironment.Create()) 5210using (var env = TestEnvironment.Create()) 5239using (var env = TestEnvironment.Create()) 5279using (var env = TestEnvironment.Create()) 5373using var env = TestEnvironment.Create(_output); 5389using var env = TestEnvironment.Create(_output); 5405using var env = TestEnvironment.Create(_output); 5423using var env = TestEnvironment.Create(_output); 5440using var env = TestEnvironment.Create(_output); 5457using var env = TestEnvironment.Create(_output); 5478using var env = TestEnvironment.Create(_output); 5494using var env = TestEnvironment.Create(_output); 5510using var env = TestEnvironment.Create(_output); 5528using var env = TestEnvironment.Create(_output); 5543using var env = TestEnvironment.Create(_output); 5560using var env = TestEnvironment.Create(_output); 5581using var env = TestEnvironment.Create(_output); 5598using var env = TestEnvironment.Create(_output); 5614using var env = TestEnvironment.Create(_output); 5630using var env = TestEnvironment.Create(_output); 5646using var env = TestEnvironment.Create(_output); 5666using var env = TestEnvironment.Create(_output); 5684using var env = TestEnvironment.Create(_output); 5702using var env = TestEnvironment.Create(_output); 5724using var env = TestEnvironment.Create(_output); 5739using var env = TestEnvironment.Create(_output); 5761using var env = TestEnvironment.Create(_output); 5777using var env = TestEnvironment.Create(_output); 5792using var env = TestEnvironment.Create(_output); 5811using var env = TestEnvironment.Create(_output); 5828using var env = TestEnvironment.Create(_output); 5848using var env = TestEnvironment.Create(_output); 5866using var env = TestEnvironment.Create(_output); 5884using var env = TestEnvironment.Create(_output); 5905using var env = TestEnvironment.Create(_output); 5929using var env = TestEnvironment.Create(_output);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
865using TestEnvironment testEnvironment = TestEnvironment.Create();
Evaluation\IntrinsicFunctionOverload_Tests.cs (24)
32using TestEnvironment env = TestEnvironment.Create(); 54using TestEnvironment env = TestEnvironment.Create(); 76using TestEnvironment env = TestEnvironment.Create(); 98using TestEnvironment env = TestEnvironment.Create(); 120using TestEnvironment env = TestEnvironment.Create(); 131using TestEnvironment env = TestEnvironment.Create(); 172using TestEnvironment env = TestEnvironment.Create(); 213using TestEnvironment env = TestEnvironment.Create(); 263using TestEnvironment env = TestEnvironment.Create(); 285using TestEnvironment env = TestEnvironment.Create(); 307using TestEnvironment env = TestEnvironment.Create(); 329using TestEnvironment env = TestEnvironment.Create(); 349using TestEnvironment env = TestEnvironment.Create(); 371using TestEnvironment env = TestEnvironment.Create(); 393using TestEnvironment env = TestEnvironment.Create(); 415using TestEnvironment env = TestEnvironment.Create(); 435using TestEnvironment env = TestEnvironment.Create(); 457using TestEnvironment env = TestEnvironment.Create(); 479using TestEnvironment env = TestEnvironment.Create(); 501using TestEnvironment env = TestEnvironment.Create(); 521using TestEnvironment env = TestEnvironment.Create(); 543using TestEnvironment env = TestEnvironment.Create(); 565using TestEnvironment env = TestEnvironment.Create(); 588using TestEnvironment env = TestEnvironment.Create();
Evaluation\ItemEvaluation_Tests.cs (3)
589using (var env = TestEnvironment.Create()) 652using var env = TestEnvironment.Create(); 682using (var env = TestEnvironment.Create())
Evaluation\Preprocessor_Tests.cs (3)
848using (TestEnvironment env = TestEnvironment.Create()) 939using (TestEnvironment env = TestEnvironment.Create()) 1054using (TestEnvironment env = TestEnvironment.Create())
Evaluation\ProjectCollection_Tests.cs (1)
22using (TestEnvironment env = TestEnvironment.Create())
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
86_env = TestEnvironment.Create();
Evaluation\SdkResultEvaluation_Tests.cs (1)
35_env = TestEnvironment.Create();
EvaluationProfiler_Tests.cs (1)
61_env = TestEnvironment.Create(output);
FileLogger_Tests.cs (2)
357using (var env = TestEnvironment.Create()) 393using (var testEnvironment = TestEnvironment.Create())
Graph\GetCompatiblePlatformGraph_Tests.cs (11)
29using (var env = TestEnvironment.Create()) 56using (var env = TestEnvironment.Create()) 97using (var env = TestEnvironment.Create()) 139using (var env = TestEnvironment.Create()) 180using (var env = TestEnvironment.Create()) 207using (var env = TestEnvironment.Create()) 235using (var env = TestEnvironment.Create()) 262using (var env = TestEnvironment.Create()) 290using (var env = TestEnvironment.Create()) 320using (var env = TestEnvironment.Create()) 348using (TestEnvironment testEnvironment = TestEnvironment.Create())
Graph\GraphLoadedFromSolution_tests.cs (1)
29_env = TestEnvironment.Create(output);
Graph\IsolateProjects_Tests.cs (1)
135_env = TestEnvironment.Create(_testOutput, ignoreBuildErrorFiles: true);
Graph\ProjectGraph_Tests.cs (47)
44_env = TestEnvironment.Create(outputHelper); 62using (var env = TestEnvironment.Create()) 89using (var env = TestEnvironment.Create()) 100using (var env = TestEnvironment.Create()) 132using (var env = TestEnvironment.Create()) 179using (var env = TestEnvironment.Create()) 203using (var env = TestEnvironment.Create()) 225using (var env = TestEnvironment.Create()) 249using (var env = TestEnvironment.Create()) 303using (var env = TestEnvironment.Create()) 317using (var env = TestEnvironment.Create()) 330using (var env = TestEnvironment.Create()) 387using (var env = TestEnvironment.Create()) 420using (var env = TestEnvironment.Create()) 439using (var env = TestEnvironment.Create()) 479using (var env = TestEnvironment.Create()) 510using (var env = TestEnvironment.Create()) 552using (var env = TestEnvironment.Create()) 573using (var env = TestEnvironment.Create()) 594using (var env = TestEnvironment.Create()) 628using (var env = TestEnvironment.Create()) 665using (var env = TestEnvironment.Create()) 696using (var env = TestEnvironment.Create()) 917using (var env = TestEnvironment.Create()) 946using (var env = TestEnvironment.Create()) 974using (var env = TestEnvironment.Create()) 1000using (var env = TestEnvironment.Create()) 1018using (var env = TestEnvironment.Create()) 1036using (var env = TestEnvironment.Create()) 1059using (var env = TestEnvironment.Create()) 1082using (var env = TestEnvironment.Create()) 1097using (var env = TestEnvironment.Create()) 1126using (var env = TestEnvironment.Create()) 1167using (var env = TestEnvironment.Create()) 1283using (var env = TestEnvironment.Create()) 1389using (var env = TestEnvironment.Create()) 1407using (var env = TestEnvironment.Create()) 1437using (var env = TestEnvironment.Create()) 1471using (var env = TestEnvironment.Create()) 1628using (var env = TestEnvironment.Create()) 1809using (var env = TestEnvironment.Create()) 2325using (var env = TestEnvironment.Create()) 2344using (var env = TestEnvironment.Create()) 2833using (var env = TestEnvironment.Create()) 2889using (var env = TestEnvironment.Create()) 2930using var env = TestEnvironment.Create(); 2959using var env = TestEnvironment.Create();
Graph\ResultCacheBasedBuilds_Tests.cs (1)
31_env = TestEnvironment.Create(_output);
Instance\ProjectInstance_Internal_Tests.cs (3)
761using (var env = TestEnvironment.Create()) 889using (TestEnvironment testEnvironment = TestEnvironment.Create()) 917using (TestEnvironment testEnvironment = TestEnvironment.Create())
MSBuildTaskHostTests.cs (1)
23private readonly TestEnvironment _environment = TestEnvironment.Create(testOutput);
NetTaskHost_E2E_Tests.cs (12)
35using TestEnvironment env = TestEnvironment.Create(_output); 64using TestEnvironment env = TestEnvironment.Create(_output); 87using TestEnvironment env = TestEnvironment.Create(_output); 109using TestEnvironment env = TestEnvironment.Create(_output); 169using TestEnvironment env = TestEnvironment.Create(_output); 186using TestEnvironment env = TestEnvironment.Create(_output); 210using TestEnvironment env = TestEnvironment.Create(_output); 233using TestEnvironment env = TestEnvironment.Create(_output); 256using TestEnvironment env = TestEnvironment.Create(_output); 285using TestEnvironment env = TestEnvironment.Create(_output); 304using TestEnvironment env = TestEnvironment.Create(_output); 349using TestEnvironment env = TestEnvironment.Create(_output);
PrintLineDebugger_Tests.cs (4)
112using (var env = TestEnvironment.Create()) 204using (var env = TestEnvironment.Create()) 226using (var env = TestEnvironment.Create()) 248using (var env = TestEnvironment.Create())
ProjectCache\ProjectCacheTests.cs (1)
36_env = TestEnvironment.Create(output);
TaskHostFactoryLifecycle_E2E_Tests.cs (1)
64using TestEnvironment env = TestEnvironment.Create(_output);
Telemetry\Telemetry_Tests.cs (2)
242using TestEnvironment env = TestEnvironment.Create(); 280using var testEnv = TestEnvironment.Create(_output);
TerminalLogger_Tests.cs (3)
213using TestEnvironment testEnvironment = TestEnvironment.Create(); 895using (TestEnvironment env = TestEnvironment.Create()) 1026using (TestEnvironment env = TestEnvironment.Create())
TerminalLoggerConfiguration_Tests.cs (1)
28_env = TestEnvironment.Create(output);
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
TypeLoader_Tests.cs (1)
99using (TestEnvironment env = TestEnvironment.Create())
Utilities_Tests.cs (1)
71using TestEnvironment env = TestEnvironment.Create();
WarningsAsMessagesAndErrors_Tests.cs (18)
49using (TestEnvironment testEnvironment = TestEnvironment.Create(_output)) 143using (TestEnvironment testEnvironment = TestEnvironment.Create(_output)) 292using (TestEnvironment env = TestEnvironment.Create(_output)) 324using (TestEnvironment env = TestEnvironment.Create(_output)) 381using (TestEnvironment env = TestEnvironment.Create(_output)) 410using (TestEnvironment env = TestEnvironment.Create(_output)) 432using (TestEnvironment env = TestEnvironment.Create(_output)) 457using (TestEnvironment env = TestEnvironment.Create(_output)) 479using (TestEnvironment env = TestEnvironment.Create(_output)) 499using (TestEnvironment env = TestEnvironment.Create(_output)) 519using (TestEnvironment env = TestEnvironment.Create(_output)) 542using (TestEnvironment env = TestEnvironment.Create(_output)) 573using (TestEnvironment env = TestEnvironment.Create(_output)) 612using (TestEnvironment env = TestEnvironment.Create(_output)) 649using (TestEnvironment env = TestEnvironment.Create(_output)) 690using TestEnvironment env = TestEnvironment.Create(_output); 717using TestEnvironment env = TestEnvironment.Create(_output); 743using TestEnvironment env = TestEnvironment.Create(_output);
Microsoft.Build.Framework.UnitTests (8)
FileMatcher_Tests.cs (6)
28_env = TestEnvironment.Create(output); 1102using (var env = TestEnvironment.Create()) 1183using (var env = TestEnvironment.Create()) 1307using (var env = TestEnvironment.Create()) 1373using (var env = TestEnvironment.Create()) 1412using (var env = TestEnvironment.Create())
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
Microsoft.Build.Tasks.UnitTests (127)
AddToWin32Manifest_Tests.cs (2)
41using (TestEnvironment env = TestEnvironment.Create()) 79using (TestEnvironment env = TestEnvironment.Create())
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (3)
123using (TestEnvironment env = TestEnvironment.Create()) 159using (TestEnvironment env = TestEnvironment.Create()) 185using (TestEnvironment env = TestEnvironment.Create())
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (2)
27using var env = TestEnvironment.Create(); 103using var env = TestEnvironment.Create();
Copy_Tests.cs (16)
138using (var env = TestEnvironment.Create()) 163using (var env = TestEnvironment.Create()) 189using (var env = TestEnvironment.Create()) 234using (var env = TestEnvironment.Create()) 258using (var env = TestEnvironment.Create()) 290using (var env = TestEnvironment.Create()) 315using (var env = TestEnvironment.Create()) 340using (var env = TestEnvironment.Create()) 364using (var env = TestEnvironment.Create()) 389using (var env = TestEnvironment.Create()) 414using (var env = TestEnvironment.Create()) 440using (var env = TestEnvironment.Create()) 467using (var env = TestEnvironment.Create()) 1118using (var env = TestEnvironment.Create()) 2572using (var env = TestEnvironment.Create()) 2998using TestEnvironment env = TestEnvironment.Create();
CreateCSharpManifestResourceName_Tests.cs (7)
383using (var env = TestEnvironment.Create(_testOutput)) 415using (var env = TestEnvironment.Create()) 453using (var env = TestEnvironment.Create()) 486using (var env = TestEnvironment.Create()) 520using (var env = TestEnvironment.Create()) 551using (var env = TestEnvironment.Create()) 585using (var env = TestEnvironment.Create(_testOutput))
CreateItem_Tests.cs (3)
188using var env = TestEnvironment.Create(_testOutput); 291using (var env = TestEnvironment.Create()) 343using (var env = TestEnvironment.Create())
DownloadFile_Tests.cs (6)
30using (TestEnvironment testEnvironment = TestEnvironment.Create()) 60using (TestEnvironment testEnvironment = TestEnvironment.Create()) 109using (TestEnvironment testEnvironment = TestEnvironment.Create()) 140using (TestEnvironment testEnvironment = TestEnvironment.Create()) 208using (TestEnvironment testEnvironment = TestEnvironment.Create()) 324using (TestEnvironment testEnvironment = TestEnvironment.Create())
Exec_Tests.cs (7)
58using (var testEnvironment = TestEnvironment.Create()) 76using (var env = TestEnvironment.Create()) 114using (var testEnvironment = TestEnvironment.Create()) 553using (TestEnvironment testEnvironment = TestEnvironment.Create()) 953using (var env = TestEnvironment.Create(_output)) 1006using (var env = TestEnvironment.Create(_output)) 1058using (var env = TestEnvironment.Create(_output))
FindUnderPath_Tests.cs (2)
47using TestEnvironment env = TestEnvironment.Create(); 76using TestEnvironment env = TestEnvironment.Create();
GenerateBindingRedirects_Tests.cs (2)
27_env = TestEnvironment.Create(output); 264using (TestEnvironment env = TestEnvironment.Create())
GetSDKReference_Tests.cs (1)
273using (TestEnvironment env = TestEnvironment.Create())
HintPathResolver_Tests.cs (1)
22_env = TestEnvironment.Create(testOutput);
MSBuildInternalMessage_Tests.cs (5)
24using (TestEnvironment env = TestEnvironment.Create()) 69using (TestEnvironment env = TestEnvironment.Create()) 115using (TestEnvironment env = TestEnvironment.Create()) 193using (TestEnvironment env = TestEnvironment.Create()) 247using (TestEnvironment env = TestEnvironment.Create())
PortableTasks_Tests.cs (1)
45using (TestEnvironment env = TestEnvironment.Create(_outputHelper))
PrintLineDebugger_Tests.cs (4)
112using (var env = TestEnvironment.Create()) 204using (var env = TestEnvironment.Create()) 226using (var env = TestEnvironment.Create()) 248using (var env = TestEnvironment.Create())
RARPrecomputedCache_Tests.cs (3)
22using (TestEnvironment env = TestEnvironment.Create()) 57using (TestEnvironment env = TestEnvironment.Create()) 109using (TestEnvironment env = TestEnvironment.Create())
RemoveDir_Tests.cs (2)
50using (TestEnvironment env = TestEnvironment.Create(_output)) 102using (TestEnvironment env = TestEnvironment.Create(_output))
ResolveAssemblyReference_CustomCultureTests.cs (1)
40using (TestEnvironment env = TestEnvironment.Create(_output))
ResourceHandling\GenerateResource_Tests.cs (4)
29_env = TestEnvironment.Create(output); 2267using TestEnvironment env = TestEnvironment.Create(); 2343using var env = TestEnvironment.Create(_output); 3934using (var env = TestEnvironment.Create())
ResourceHandling\MSBuildResXReader_Tests.cs (2)
153using (var env = TestEnvironment.Create(_output)) 300using var env = TestEnvironment.Create(_output);
ResourceManagement_Tests.cs (1)
145using var env = TestEnvironment.Create();
RoslynCodeTaskFactory_Tests.cs (19)
50using (TestEnvironment env = TestEnvironment.Create()) 98using (TestEnvironment env = TestEnvironment.Create()) 224using var env = TestEnvironment.Create(); 311using (TestEnvironment env = TestEnvironment.Create()) 431using (TestEnvironment testEnvironment = TestEnvironment.Create()) 528using (TestEnvironment env = TestEnvironment.Create()) 545using (TestEnvironment testEnvironment = TestEnvironment.Create()) 561using (TestEnvironment testEnvironment = TestEnvironment.Create()) 737using (TestEnvironment testEnvironment = TestEnvironment.Create()) 783using (TestEnvironment env = TestEnvironment.Create()) 827using TestEnvironment env = TestEnvironment.Create(_testOutput); 946using var env = TestEnvironment.Create(); 1155using (TestEnvironment env = TestEnvironment.Create()) 1225using (TestEnvironment env = TestEnvironment.Create()) 1323using (TestEnvironment env = TestEnvironment.Create()) 1370using (TestEnvironment env = TestEnvironment.Create()) 1418using (TestEnvironment env = TestEnvironment.Create()) 1502using (TestEnvironment env = TestEnvironment.Create()) 1541using (TestEnvironment env = TestEnvironment.Create())
SGen_Tests.cs (1)
31using TestEnvironment testenv = TestEnvironment.Create(_output);
TaskFactoryUtilities_Tests.cs (1)
34using (var env = TestEnvironment.Create())
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
Unzip_Tests.cs (14)
25using (TestEnvironment testEnvironment = TestEnvironment.Create()) 54using (TestEnvironment testEnvironment = TestEnvironment.Create()) 111using (TestEnvironment testEnvironment = TestEnvironment.Create()) 189using (TestEnvironment testEnvironment = TestEnvironment.Create()) 218using (TestEnvironment testEnvironment = TestEnvironment.Create()) 241using (TestEnvironment testEnvironment = TestEnvironment.Create()) 262using (TestEnvironment testEnvironment = TestEnvironment.Create()) 292using (TestEnvironment testEnvironment = TestEnvironment.Create()) 322using (TestEnvironment testEnvironment = TestEnvironment.Create()) 360using (TestEnvironment testEnvironment = TestEnvironment.Create()) 389using (TestEnvironment testEnvironment = TestEnvironment.Create()) 418using (TestEnvironment testEnvironment = TestEnvironment.Create()) 447using (TestEnvironment testEnvironment = TestEnvironment.Create()) 476using TestEnvironment testEnvironment = TestEnvironment.Create();
WriteCodeFragment_Tests.cs (5)
107using TestEnvironment env = TestEnvironment.Create(); 130using TestEnvironment env = TestEnvironment.Create(); 150using TestEnvironment env = TestEnvironment.Create(); 409using TestEnvironment env = TestEnvironment.Create(); 430using TestEnvironment env = TestEnvironment.Create();
WriteLinesToFile_Tests.cs (7)
172using TestEnvironment testEnv = TestEnvironment.Create(_output); 316using (var testEnv = TestEnvironment.Create()) 345using (var testEnv = TestEnvironment.Create()) 373using (var testEnv = TestEnvironment.Create()) 396using (var testEnv = TestEnvironment.Create(_output)) 457using (var testEnv = TestEnvironment.Create(_output)) 534using (var testEnv = TestEnvironment.Create(_output))
ZipDirectory_Tests.cs (3)
40using (TestEnvironment testEnvironment = TestEnvironment.Create()) 99using (TestEnvironment testEnvironment = TestEnvironment.Create()) 141using (TestEnvironment testEnvironment = TestEnvironment.Create())
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
138using (var env = TestEnvironment.Create()) 1412using (var env = TestEnvironment.Create()) 1467using (var env = TestEnvironment.Create(testOutput))
Microsoft.Build.Utilities.UnitTests (24)
EncodingUtilities_Tests.cs (1)
45using TestEnvironment testEnvironment = TestEnvironment.Create();
PrintLineDebugger_Tests.cs (4)
112using (var env = TestEnvironment.Create()) 204using (var env = TestEnvironment.Create()) 226using (var env = TestEnvironment.Create()) 248using (var env = TestEnvironment.Create())
TestAssemblyInfo.cs (2)
138using var _ = TestEnvironment.Create(); 208_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true);
ToolLocationHelper_Tests.cs (9)
2496using (var env = TestEnvironment.Create()) 2525using (var env = TestEnvironment.Create()) 2548using (var env = TestEnvironment.Create()) 2581using (var env = TestEnvironment.Create()) 2594using (var env = TestEnvironment.Create()) 2611using (var env = TestEnvironment.Create()) 2628using (var env = TestEnvironment.Create()) 2643using (var env = TestEnvironment.Create()) 2660using (var env = TestEnvironment.Create())
ToolTask_Tests.cs (8)
725using (var env = TestEnvironment.Create()) 857using (TestEnvironment testEnvironment = TestEnvironment.Create()) 913using TestEnvironment testEnvironment = TestEnvironment.Create(_output); 981using var env = TestEnvironment.Create(_output); 1010using var env = TestEnvironment.Create(_output); 1456using var env = TestEnvironment.Create(_output); 1486using var env = TestEnvironment.Create(_output); 1558using var env = TestEnvironment.Create(_output);