465 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)
29_env = TestEnvironment.Create(output); 657using (var env = TestEnvironment.Create()) 837using (var env = TestEnvironment.Create()) 870using (var env = TestEnvironment.Create()) 898using (var env = TestEnvironment.Create())
TaskInvocationAnalysisDataTests.cs (1)
83using (var env = TestEnvironment.Create(_output))
TestAssemblyInfo.cs (2)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
Microsoft.Build.CommandLine.UnitTests (21)
CommandLineSwitches_Tests.cs (3)
1101using (TestEnvironment env = TestEnvironment.Create()) 1382using (TestEnvironment env = TestEnvironment.Create()) 1522using TestEnvironment testEnvironment = TestEnvironment.Create();
MSBuildServer_Tests.cs (1)
86_env = TestEnvironment.Create(_output);
PerfLog_Tests.cs (2)
26using (TestEnvironment testEnv = TestEnvironment.Create(_output)) 61using (TestEnvironment testEnv = TestEnvironment.Create(_output))
TestAssemblyInfo.cs (2)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
XMake_Tests.cs (13)
45_env = UnitTests.TestEnvironment.Create(_output); 532using TestEnvironment env = TestEnvironment.Create(); 576using TestEnvironment env = TestEnvironment.Create(); 712using TestEnvironment env = TestEnvironment.Create(); 748using TestEnvironment env = TestEnvironment.Create(); 802using TestEnvironment env = TestEnvironment.Create(); 821using TestEnvironment env = TestEnvironment.Create(); 851using TestEnvironment env = TestEnvironment.Create(); 913using TestEnvironment testEnvironment = TestEnvironment.Create(); 1127using TestEnvironment testEnvironment = TestEnvironment.Create(); 1281using (TestEnvironment env = TestEnvironment.Create()) 2647using TestEnvironment testEnvironment = UnitTests.TestEnvironment.Create(); 2701using TestEnvironment testEnvironment = UnitTests.TestEnvironment.Create();
Microsoft.Build.Engine.OM.UnitTests (46)
Construction\ConstructionEditing_Tests.cs (1)
3208using (var env = TestEnvironment.Create())
Construction\ProjectRootElement_Tests.cs (4)
1286using (var env = TestEnvironment.Create()) 1325using (var env = TestEnvironment.Create()) 1587using (var env = TestEnvironment.Create()) 1727using (var env = TestEnvironment.Create())
Construction\ProjectTargetElement_Tests.cs (1)
345using (TestEnvironment env = TestEnvironment.Create())
Construction\SolutionFile_Tests.cs (1)
710using (TestEnvironment testEnvironment = TestEnvironment.Create())
Definition\DefinitionEditing_Tests.cs (1)
1695using (var env = TestEnvironment.Create())
Definition\Project_Tests.cs (17)
1443using (var env = TestEnvironment.Create()) 1508using (var env = TestEnvironment.Create()) 1594using (var env = TestEnvironment.Create()) 3250using (var env = TestEnvironment.Create()) 3278using (var env = TestEnvironment.Create()) 3571using (var env = TestEnvironment.Create()) 3764using (var env = TestEnvironment.Create()) 3841using (var env = TestEnvironment.Create()) 3860using (var env = TestEnvironment.Create()) 3889using (var env = TestEnvironment.Create(_output)) 3932using (var env = TestEnvironment.Create(_output)) 3971using (var env = TestEnvironment.Create(_output)) 4016using (var env = TestEnvironment.Create(_output)) 4063using (var env = TestEnvironment.Create(_output)) 4103using (var env = TestEnvironment.Create(_output)) 4146using (var env = TestEnvironment.Create(_output)) 4191using (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)
26using TestEnvironment testEnvironment = TestEnvironment.Create();
TestAssemblyInfo.cs (2)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
Microsoft.Build.Engine.UnitTests (244)
BackEnd\BuildManager_Logging_Tests.cs (1)
77_env = TestEnvironment.Create(output);
BackEnd\BuildManager_Tests.cs (4)
86_env = TestEnvironment.Create(output); 3687using (var env = TestEnvironment.Create()) 4024using (var env = TestEnvironment.Create(_output)) 4076using (var env = TestEnvironment.Create())
BackEnd\BuildRequestConfiguration_Tests.cs (1)
31_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\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 (3)
778using TestEnvironment env = TestEnvironment.Create(); 809using TestEnvironment env = TestEnvironment.Create(); 853using TestEnvironment env = TestEnvironment.Create();
BackEnd\ResultsCache_Tests.cs (1)
402using (var env = TestEnvironment.Create())
BackEnd\SdkResolverLoader_Tests.cs (7)
218using (var env = TestEnvironment.Create(_output)) 243using (var env = TestEnvironment.Create(_output)) 270using (var env = TestEnvironment.Create(_output)) 294using (var env = TestEnvironment.Create(_output)) 310using (var env = TestEnvironment.Create(_output)) 334using (var env = TestEnvironment.Create(_output)) 362using (var env = TestEnvironment.Create(_output))
BackEnd\SdkResultOutOfProc_Tests.cs (1)
67_env = TestEnvironment.Create(output);
BackEnd\TargetBuilder_Tests.cs (2)
216using (var env = TestEnvironment.Create()) 253using (var env = TestEnvironment.Create())
BackEnd\TaskBuilder_Tests.cs (3)
91using TestEnvironment env = TestEnvironment.Create(); 143using (TestEnvironment env = TestEnvironment.Create(_testOutput)) 657using var env = TestEnvironment.Create();
BackEnd\TaskExecutionHost_Tests.cs (1)
1062using TestEnvironment env = TestEnvironment.Create();
BackEnd\TaskHostFactory_Tests.cs (2)
32using (TestEnvironment env = TestEnvironment.Create()) 66using TestEnvironment env = TestEnvironment.Create(_output);
BackEnd\TaskRegistry_Tests.cs (1)
658using (var env = TestEnvironment.Create(_output))
BinaryLogger_Tests.cs (5)
81_env = TestEnvironment.Create(output); 334using (TestEnvironment env = TestEnvironment.Create()) 379using (TestEnvironment env = TestEnvironment.Create()) 568using var env = TestEnvironment.Create(); 612using (TestEnvironment env = TestEnvironment.Create())
ChangeWaves_Tests.cs (8)
81using (TestEnvironment env = TestEnvironment.Create()) 102using (TestEnvironment env = TestEnvironment.Create()) 123using (TestEnvironment env = TestEnvironment.Create()) 140using (TestEnvironment env = TestEnvironment.Create()) 160using (TestEnvironment env = TestEnvironment.Create()) 184using (TestEnvironment env = TestEnvironment.Create()) 198using (TestEnvironment env = TestEnvironment.Create()) 221using (TestEnvironment env = TestEnvironment.Create())
ConsoleLogger_Tests.cs (3)
189using var env = TestEnvironment.Create(_output); 229using var env = TestEnvironment.Create(_output); 272using 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)
297using (var env = TestEnvironment.Create()) 771using (var env = TestEnvironment.Create())
Construction\SolutionFilter_Tests.cs (4)
51using (TestEnvironment testEnvironment = TestEnvironment.Create()) 211using (TestEnvironment testEnvironment = TestEnvironment.Create()) 229using (TestEnvironment testEnvironment = TestEnvironment.Create()) 290using TestEnvironment testEnvironment = TestEnvironment.Create();
Construction\SolutionProjectGenerator_Tests.cs (22)
67using (TestEnvironment testEnvironment = TestEnvironment.Create()) 96using (TestEnvironment testEnvironment = TestEnvironment.Create()) 119using (TestEnvironment testEnvironment = TestEnvironment.Create()) 164using (TestEnvironment testEnvironment = TestEnvironment.Create()) 239using (TestEnvironment testEnvironment = TestEnvironment.Create()) 400using (TestEnvironment testEnvironment = TestEnvironment.Create()) 441using (TestEnvironment testEnvironment = TestEnvironment.Create()) 518using (TestEnvironment testEnvironment = TestEnvironment.Create()) 559using (TestEnvironment testEnvironment = TestEnvironment.Create()) 926using (TestEnvironment env = TestEnvironment.Create()) 1317using (TestEnvironment testEnvironment = TestEnvironment.Create()) 1389using (TestEnvironment testEnvironment = TestEnvironment.Create()) 1585using (TestEnvironment testEnvironment = TestEnvironment.Create()) 1959using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2020using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2109using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2372using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2430using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2489using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2542using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2920using (TestEnvironment testEnvironment = TestEnvironment.Create()) 2972using (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()) 4609using (var env = TestEnvironment.Create()) 4658using (TestEnvironment testEnvironment = TestEnvironment.Create()) 4687using (TestEnvironment testEnvironment = TestEnvironment.Create()) 5042using (TestEnvironment env = TestEnvironment.Create()) 5090using (TestEnvironment env = TestEnvironment.Create())
Evaluation\Expander_Tests.cs (12)
2589using (var env = TestEnvironment.Create()) 4778using (var env = TestEnvironment.Create()) 4822using (var env = TestEnvironment.Create()) 4857using (var env = TestEnvironment.Create()) 4897using (var env = TestEnvironment.Create()) 4938using (var env = TestEnvironment.Create()) 4978using (var env = TestEnvironment.Create()) 5021using (var env = TestEnvironment.Create()) 5067using (var env = TestEnvironment.Create()) 5098using (var env = TestEnvironment.Create()) 5127using (var env = TestEnvironment.Create()) 5167using (var env = TestEnvironment.Create())
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
864using TestEnvironment testEnvironment = TestEnvironment.Create();
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
28using TestEnvironment env = TestEnvironment.Create(); 50using TestEnvironment env = TestEnvironment.Create(); 72using TestEnvironment env = TestEnvironment.Create(); 94using TestEnvironment env = TestEnvironment.Create(); 116using TestEnvironment env = TestEnvironment.Create(); 136using TestEnvironment env = TestEnvironment.Create(); 158using TestEnvironment env = TestEnvironment.Create(); 180using TestEnvironment env = TestEnvironment.Create(); 202using TestEnvironment env = TestEnvironment.Create(); 222using TestEnvironment env = TestEnvironment.Create(); 244using TestEnvironment env = TestEnvironment.Create(); 266using TestEnvironment env = TestEnvironment.Create(); 288using TestEnvironment env = TestEnvironment.Create(); 308using TestEnvironment env = TestEnvironment.Create(); 330using TestEnvironment env = TestEnvironment.Create(); 352using TestEnvironment env = TestEnvironment.Create(); 374using TestEnvironment env = TestEnvironment.Create(); 394using TestEnvironment env = TestEnvironment.Create(); 416using TestEnvironment env = TestEnvironment.Create(); 438using TestEnvironment env = TestEnvironment.Create();
Evaluation\ItemEvaluation_Tests.cs (3)
588using (var env = TestEnvironment.Create()) 651using var env = TestEnvironment.Create(); 681using (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)
36_env = TestEnvironment.Create();
EvaluationProfiler_Tests.cs (1)
62_env = TestEnvironment.Create(output);
FileLogger_Tests.cs (2)
360using (var env = TestEnvironment.Create()) 396using (var testEnvironment = TestEnvironment.Create())
FileMatcher_Tests.cs (4)
29_env = TestEnvironment.Create(output); 1282using (var env = TestEnvironment.Create()) 1348using (var env = TestEnvironment.Create()) 1387using (var env = 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)
30_env = TestEnvironment.Create(output);
Graph\IsolateProjects_Tests.cs (1)
136_env = TestEnvironment.Create(_testOutput, ignoreBuildErrorFiles: true);
Graph\ProjectGraph_Tests.cs (45)
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())
Graph\ResultCacheBasedBuilds_Tests.cs (1)
32_env = TestEnvironment.Create(_output);
Instance\ProjectInstance_Internal_Tests.cs (3)
762using (var env = TestEnvironment.Create()) 890using (TestEnvironment testEnvironment = TestEnvironment.Create()) 918using (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())
ProjectCache\ProjectCacheTests.cs (1)
35_env = TestEnvironment.Create(output);
Telemetry\OpenTelemetryManager_Tests.cs (4)
40using TestEnvironment environment = TestEnvironment.Create(); 54using TestEnvironment environment = TestEnvironment.Create(); 71using TestEnvironment environment = TestEnvironment.Create(); 87using TestEnvironment environment = TestEnvironment.Create();
Telemetry\Telemetry_Tests.cs (2)
181using TestEnvironment env = TestEnvironment.Create(); 223using var testEnv = TestEnvironment.Create(_output);
TerminalLogger_Tests.cs (2)
79using TestEnvironment testEnvironment = TestEnvironment.Create(); 742using (TestEnvironment env = TestEnvironment.Create())
TerminalLoggerConfiguration_Tests.cs (1)
29_env = TestEnvironment.Create(output);
TestAssemblyInfo.cs (2)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
TypeLoader_Tests.cs (1)
99using (TestEnvironment env = TestEnvironment.Create())
Utilities_Tests.cs (1)
75using TestEnvironment env = TestEnvironment.Create();
WarningsAsMessagesAndErrors_Tests.cs (12)
44using (TestEnvironment testEnvironment = TestEnvironment.Create(_output)) 138using (TestEnvironment testEnvironment = TestEnvironment.Create(_output)) 287using (TestEnvironment env = TestEnvironment.Create(_output)) 319using (TestEnvironment env = TestEnvironment.Create(_output)) 376using (TestEnvironment env = TestEnvironment.Create(_output)) 405using (TestEnvironment env = TestEnvironment.Create(_output)) 427using (TestEnvironment env = TestEnvironment.Create(_output)) 452using (TestEnvironment env = TestEnvironment.Create(_output)) 474using (TestEnvironment env = TestEnvironment.Create(_output)) 494using (TestEnvironment env = TestEnvironment.Create(_output)) 514using (TestEnvironment env = TestEnvironment.Create(_output)) 537using (TestEnvironment env = TestEnvironment.Create(_output))
Microsoft.Build.Framework.UnitTests (2)
TestAssemblyInfo.cs (2)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
Microsoft.Build.Tasks.UnitTests (111)
AddToWin32Manifest_Tests.cs (2)
42using (TestEnvironment env = TestEnvironment.Create()) 80using (TestEnvironment env = TestEnvironment.Create())
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (3)
122using (TestEnvironment env = TestEnvironment.Create()) 158using (TestEnvironment env = TestEnvironment.Create()) 184using (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()) 162using (var env = TestEnvironment.Create()) 187using (var env = TestEnvironment.Create()) 231using (var env = TestEnvironment.Create()) 254using (var env = TestEnvironment.Create()) 285using (var env = TestEnvironment.Create()) 309using (var env = TestEnvironment.Create()) 333using (var env = TestEnvironment.Create()) 356using (var env = TestEnvironment.Create()) 380using (var env = TestEnvironment.Create()) 404using (var env = TestEnvironment.Create()) 429using (var env = TestEnvironment.Create()) 455using (var env = TestEnvironment.Create()) 1097using (var env = TestEnvironment.Create()) 2517using (var env = TestEnvironment.Create()) 2936using TestEnvironment env = TestEnvironment.Create();
CreateCSharpManifestResourceName_Tests.cs (7)
384using (var env = TestEnvironment.Create(_testOutput)) 416using (var env = TestEnvironment.Create()) 454using (var env = TestEnvironment.Create()) 487using (var env = TestEnvironment.Create()) 521using (var env = TestEnvironment.Create()) 552using (var env = TestEnvironment.Create()) 586using (var env = TestEnvironment.Create(_testOutput))
CreateItem_Tests.cs (3)
189using var env = TestEnvironment.Create(_testOutput); 292using (var env = TestEnvironment.Create()) 344using (var env = TestEnvironment.Create())
DownloadFile_Tests.cs (6)
30using (TestEnvironment testEnvironment = TestEnvironment.Create()) 59using (TestEnvironment testEnvironment = TestEnvironment.Create()) 107using (TestEnvironment testEnvironment = TestEnvironment.Create()) 137using (TestEnvironment testEnvironment = TestEnvironment.Create()) 202using (TestEnvironment testEnvironment = TestEnvironment.Create()) 315using (TestEnvironment testEnvironment = TestEnvironment.Create())
Exec_Tests.cs (7)
59using (var testEnvironment = TestEnvironment.Create()) 77using (var env = TestEnvironment.Create()) 115using (var testEnvironment = TestEnvironment.Create()) 543using (TestEnvironment testEnvironment = TestEnvironment.Create()) 943using (var env = TestEnvironment.Create(_output)) 996using (var env = TestEnvironment.Create(_output)) 1048using (var env = TestEnvironment.Create(_output))
GenerateBindingRedirects_Tests.cs (2)
28_env = TestEnvironment.Create(output); 265using (TestEnvironment env = TestEnvironment.Create())
GetSDKReference_Tests.cs (1)
274using (TestEnvironment env = TestEnvironment.Create())
HintPathResolver_Tests.cs (1)
22_env = TestEnvironment.Create(testOutput);
MSBuildInternalMessage_Tests.cs (5)
25using (TestEnvironment env = TestEnvironment.Create()) 70using (TestEnvironment env = TestEnvironment.Create()) 116using (TestEnvironment env = TestEnvironment.Create()) 194using (TestEnvironment env = TestEnvironment.Create()) 248using (TestEnvironment env = TestEnvironment.Create())
PortableTasks_Tests.cs (1)
46using (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)) 99using (TestEnvironment env = TestEnvironment.Create(_output))
ResolveAssemblyReference_CustomCultureTests.cs (1)
33using (TestEnvironment env = TestEnvironment.Create())
ResourceHandling\GenerateResource_Tests.cs (4)
30_env = TestEnvironment.Create(output); 1998using TestEnvironment env = TestEnvironment.Create(); 2074using var env = TestEnvironment.Create(_output); 3665using (var env = TestEnvironment.Create())
ResourceHandling\MSBuildResXReader_Tests.cs (2)
154using (var env = TestEnvironment.Create(_output)) 291using var env = TestEnvironment.Create(_output);
ResourceManagement_Tests.cs (1)
145using var env = TestEnvironment.Create();
RoslynCodeTaskFactory_Tests.cs (10)
47using (TestEnvironment env = TestEnvironment.Create()) 88using (TestEnvironment env = TestEnvironment.Create()) 200using var env = TestEnvironment.Create(); 291using (TestEnvironment testEnvironment = TestEnvironment.Create()) 388using (TestEnvironment env = TestEnvironment.Create()) 405using (TestEnvironment testEnvironment = TestEnvironment.Create()) 421using (TestEnvironment testEnvironment = TestEnvironment.Create()) 597using (TestEnvironment testEnvironment = TestEnvironment.Create()) 641using (TestEnvironment env = TestEnvironment.Create()) 754using var env = TestEnvironment.Create();
SGen_Tests.cs (1)
21using (TestEnvironment testenv = TestEnvironment.Create())
TestAssemblyInfo.cs (2)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
Unzip_Tests.cs (14)
25using (TestEnvironment testEnvironment = TestEnvironment.Create()) 53using (TestEnvironment testEnvironment = TestEnvironment.Create()) 107using (TestEnvironment testEnvironment = TestEnvironment.Create()) 178using (TestEnvironment testEnvironment = TestEnvironment.Create()) 206using (TestEnvironment testEnvironment = TestEnvironment.Create()) 228using (TestEnvironment testEnvironment = TestEnvironment.Create()) 248using (TestEnvironment testEnvironment = TestEnvironment.Create()) 277using (TestEnvironment testEnvironment = TestEnvironment.Create()) 306using (TestEnvironment testEnvironment = TestEnvironment.Create()) 343using (TestEnvironment testEnvironment = TestEnvironment.Create()) 371using (TestEnvironment testEnvironment = TestEnvironment.Create()) 399using (TestEnvironment testEnvironment = TestEnvironment.Create()) 427using (TestEnvironment testEnvironment = TestEnvironment.Create()) 455using TestEnvironment testEnvironment = TestEnvironment.Create();
WriteCodeFragment_Tests.cs (4)
102using TestEnvironment env = TestEnvironment.Create(); 125using TestEnvironment env = TestEnvironment.Create(); 145using TestEnvironment env = TestEnvironment.Create(); 394using TestEnvironment env = TestEnvironment.Create();
WriteLinesToFile_Tests.cs (4)
160using TestEnvironment testEnv = TestEnvironment.Create(_output); 298using (var testEnv = TestEnvironment.Create()) 326using (var testEnv = TestEnvironment.Create()) 353using (var testEnv = TestEnvironment.Create())
ZipDirectory_Tests.cs (3)
25using (TestEnvironment testEnvironment = TestEnvironment.Create()) 66using (TestEnvironment testEnvironment = TestEnvironment.Create()) 108using (TestEnvironment testEnvironment = TestEnvironment.Create())
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
139using (var env = TestEnvironment.Create()) 1400using (var env = TestEnvironment.Create()) 1455using (var env = TestEnvironment.Create(testOutput))
Microsoft.Build.Utilities.UnitTests (21)
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)
51_testEnvironment = TestEnvironment.Create(output: null, ignoreBuildErrorFiles: true); 160_testEnvironment = TestEnvironment.Create();
ToolLocationHelper_Tests.cs (9)
2499using (var env = TestEnvironment.Create()) 2528using (var env = TestEnvironment.Create()) 2551using (var env = TestEnvironment.Create()) 2584using (var env = TestEnvironment.Create()) 2597using (var env = TestEnvironment.Create()) 2614using (var env = TestEnvironment.Create()) 2631using (var env = TestEnvironment.Create()) 2646using (var env = TestEnvironment.Create()) 2663using (var env = TestEnvironment.Create())
ToolTask_Tests.cs (5)
657using (var env = TestEnvironment.Create()) 788using (TestEnvironment testEnvironment = TestEnvironment.Create()) 844using TestEnvironment testEnvironment = TestEnvironment.Create(_output); 912using var env = TestEnvironment.Create(_output); 943using var env = TestEnvironment.Create(_output);