Implemented interface member:
property
BuildEngine
Microsoft.Build.Framework.ITask.BuildEngine
616 writes to BuildEngine
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (24)
CopyRefAssemblyTests.cs (5)
34BuildEngine = engine, 51BuildEngine = engine, 70BuildEngine = engine, 91BuildEngine = engine, 122BuildEngine = engine,
CscTests.cs (5)
546BuildEngine = engine, 570BuildEngine = engine, 583BuildEngine = engine, 623BuildEngine = engine, 646BuildEngine = engine,
MapSourceRootTests.cs (10)
34BuildEngine = engine, 85BuildEngine = engine, 130BuildEngine = engine, 157BuildEngine = engine, 208BuildEngine = engine, 247BuildEngine = engine, 290BuildEngine = engine, 361BuildEngine = engine, 391BuildEngine = engine, 424BuildEngine = engine,
VbcTests.cs (4)
481vbc.BuildEngine = engine; 513BuildEngine = engine, 537BuildEngine = engine, 550BuildEngine = engine,
Microsoft.Build.Tasks.Core (1)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
733managedCompiler.BuildEngine = buildEngine;
Microsoft.Build.Tasks.UnitTests (510)
AddToWin32Manifest_Tests.cs (1)
39BuildEngine = new MockEngine(_testOutput)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
3140t.BuildEngine = e;
AssemblyDependency\SuggestedRedirects.cs (10)
49t.BuildEngine = e; 94t.BuildEngine = engine; 143t.BuildEngine = engine; 183t.BuildEngine = e; 226t.BuildEngine = e; 279t.BuildEngine = e; 318t.BuildEngine = e; 353t.BuildEngine = e; 397t.BuildEngine = e; 440t.BuildEngine = e;
AssignCulture_Tests.cs (14)
25t.BuildEngine = new MockEngine(); 44t.BuildEngine = new MockEngine(); 66t.BuildEngine = new MockEngine(); 87t.BuildEngine = new MockEngine(); 110t.BuildEngine = new MockEngine(); 129t.BuildEngine = new MockEngine(); 149t.BuildEngine = new MockEngine(); 170t.BuildEngine = new MockEngine(); 195t.BuildEngine = new MockEngine(); 217t.BuildEngine = new MockEngine(); 235t.BuildEngine = new MockEngine(); 252t.BuildEngine = new MockEngine(); 272t.BuildEngine = new MockEngine(); 293t.BuildEngine = new MockEngine();
AssignLinkMetadata_Tests.cs (7)
31BuildEngine = new MockEngine() 51BuildEngine = new MockEngine(), 70BuildEngine = new MockEngine(), 97BuildEngine = new MockEngine(), 121BuildEngine = new MockEngine(), 143BuildEngine = new MockEngine(), 163BuildEngine = new MockEngine(),
AssignTargetPath_Tests.cs (5)
22t.BuildEngine = new MockEngine(); 37t.BuildEngine = new MockEngine(); 51t.BuildEngine = new MockEngine(); 72t.BuildEngine = new MockEngine(); 94t.BuildEngine = new MockEngine();
CombinePath_Tests.cs (9)
26t.BuildEngine = new MockEngine(); 46t.BuildEngine = new MockEngine(); 76t.BuildEngine = new MockEngine(); 96t.BuildEngine = new MockEngine(); 125t.BuildEngine = new MockEngine(); 158t.BuildEngine = new MockEngine(); 176t.BuildEngine = new MockEngine(); 193t.BuildEngine = new MockEngine(); 211t.BuildEngine = new MockEngine(true);
CombineTargetFrameworkInfoProperties_Tests.cs (1)
25task.BuildEngine = e;
ConvertToAbsolutePath_Tests.cs (4)
29t.BuildEngine = new MockEngine(); 61t.BuildEngine = new MockEngine(); 91t.BuildEngine = new MockEngine(); 118t.BuildEngine = new MockEngine();
Copy_Tests.cs (63)
133var task = new Copy { BuildEngine = new MockEngine(true), }; 149BuildEngine = new MockEngine(true), 174BuildEngine = new MockEngine(true), 217BuildEngine = new MockEngine(true), 243BuildEngine = engine, 272BuildEngine = engine, 297BuildEngine = engine, 321BuildEngine = engine, 345BuildEngine = engine, 369BuildEngine = engine, 393BuildEngine = engine, 416BuildEngine = engine, 441BuildEngine = engine, 467BuildEngine = engine, 504BuildEngine = new MockEngine(_testOutputHelper), 552BuildEngine = new MockEngine(_testOutputHelper), 612BuildEngine = new MockEngine(_testOutputHelper), 664BuildEngine = new MockEngine(_testOutputHelper), 720BuildEngine = new MockEngine(_testOutputHelper), 787BuildEngine = new MockEngine(_testOutputHelper), 854BuildEngine = new MockEngine(_testOutputHelper), 921BuildEngine = new MockEngine(_testOutputHelper), 994BuildEngine = new MockEngine(_testOutputHelper), 1060BuildEngine = new MockEngine(_testOutputHelper), 1116BuildEngine = engine, 1195BuildEngine = new MockEngine(_testOutputHelper), 1234BuildEngine = engine, 1281BuildEngine = engine, 1328BuildEngine = engine, 1371BuildEngine = engine, 1497BuildEngine = engine, 1544BuildEngine = engine, 1599BuildEngine = engine, 1681BuildEngine = engine, 1700BuildEngine = engine, 1752BuildEngine = engine, 1806BuildEngine = engine, 1867BuildEngine = me, 1939BuildEngine = new MockEngine(_testOutputHelper), 2004BuildEngine = new MockEngine(_testOutputHelper), 2071BuildEngine = new MockEngine(_testOutputHelper), 2140BuildEngine = engine, 2188BuildEngine = new MockEngine(_testOutputHelper), 2226BuildEngine = new MockEngine(_testOutputHelper), 2252BuildEngine = new MockEngine(_testOutputHelper), 2276BuildEngine = new MockEngine(_testOutputHelper), 2300BuildEngine = engine, 2321BuildEngine = engine, 2346BuildEngine = engine, 2413BuildEngine = engine, 2440BuildEngine = engine, 2472BuildEngine = engine, 2501BuildEngine = engine, 2536BuildEngine = engine, 2568BuildEngine = me, 2659BuildEngine = me, 2745BuildEngine = me, 2823BuildEngine = me, 2889BuildEngine = me, 2917BuildEngine = engine, 2955BuildEngine = me, 2972BuildEngine = me, 2995BuildEngine = me,
CreateCSharpManifestResourceName_Tests.cs (13)
361t.BuildEngine = new MockEngine(); 395BuildEngine = new MockEngine(_testOutput), 435BuildEngine = new MockEngine(_testOutput), 468BuildEngine = new MockEngine(_testOutput), 502BuildEngine = new MockEngine(_testOutput), 533BuildEngine = new MockEngine(_testOutput), 567BuildEngine = new MockEngine(_testOutput), 603BuildEngine = new MockEngine(), 739c.BuildEngine = m; 796t.BuildEngine = new MockEngine(); 821t.BuildEngine = new MockEngine(); 846t.BuildEngine = new MockEngine(); 872t.BuildEngine = new MockEngine();
CreateItem_Tests.cs (11)
56t.BuildEngine = new MockEngine(); 74t.BuildEngine = new MockEngine(); 93t.BuildEngine = new MockEngine(); 112t.BuildEngine = new MockEngine(); 129t.BuildEngine = new MockEngine(); 145t.BuildEngine = new MockEngine(); 228t.BuildEngine = new MockEngine(); 246t.BuildEngine = new MockEngine(); 269t.BuildEngine = new MockEngine(); 305BuildEngine = engine, 357BuildEngine = engine,
Delete_Tests.cs (3)
32t.BuildEngine = new MockEngine(); 64BuildEngine = new MockEngine(), 80BuildEngine = new MockEngine(),
DownloadFile_Tests.cs (12)
36BuildEngine = _mockEngine, 65BuildEngine = _mockEngine, 113BuildEngine = _mockEngine, 143BuildEngine = _mockEngine, 171BuildEngine = _mockEngine, 185BuildEngine = _mockEngine, 208BuildEngine = _mockEngine, 240BuildEngine = _mockEngine, 259BuildEngine = _mockEngine, 282BuildEngine = _mockEngine, 321BuildEngine = _mockEngine, 351BuildEngine = _mockEngine,
Exec_Tests.cs (3)
41exec.BuildEngine = mockEngine; 50exec.BuildEngine = mockEngine; 887exec.BuildEngine = new MockEngine();
FindAppConfigFile_Tests.cs (6)
20f.BuildEngine = new MockEngine(); 33f.BuildEngine = new MockEngine(); 46f.BuildEngine = new MockEngine(); 59f.BuildEngine = new MockEngine(); 71f.BuildEngine = new MockEngine(); 85f.BuildEngine = new MockEngine();
FindInList_Tests.cs (9)
21f.BuildEngine = new MockEngine(); 32f.BuildEngine = new MockEngine(); 44f.BuildEngine = new MockEngine(); 56f.BuildEngine = new MockEngine(); 75f.BuildEngine = new MockEngine(); 92f.BuildEngine = new MockEngine(); 104f.BuildEngine = new MockEngine(); 115f.BuildEngine = new MockEngine(); 128f.BuildEngine = e;
FindInvalidProjectReferences_Tests.cs (1)
41t.BuildEngine = engine;
FindUnderPath_Tests.cs (5)
25t.BuildEngine = new MockEngine(); 43t.BuildEngine = new MockEngine(); 59t.BuildEngine = new MockEngine(); 100t.BuildEngine = new MockEngine(); 122t.BuildEngine = new MockEngine();
FormatUrl_Tests.cs (13)
30t.BuildEngine = new MockEngine(_out); 44t.BuildEngine = new MockEngine(_out); 58t.BuildEngine = new MockEngine(_out); 74t.BuildEngine = new MockEngine(_out); 88t.BuildEngine = new MockEngine(_out); 101t.BuildEngine = new MockEngine(_out); 116t.BuildEngine = new MockEngine(_out); 131t.BuildEngine = new MockEngine(_out); 145t.BuildEngine = new MockEngine(_out); 159t.BuildEngine = new MockEngine(_out); 173t.BuildEngine = new MockEngine(_out); 187t.BuildEngine = new MockEngine(_out); 201t.BuildEngine = new MockEngine(_out);
GenerateBindingRedirects_Tests.cs (1)
324BuildEngine = engine,
GetCompatiblePlatform_Tests.cs (12)
32BuildEngine = new MockEngine(_output), 55BuildEngine = new MockEngine(_output), 79BuildEngine = new MockEngine(_output), 100BuildEngine = new MockEngine(_output), 122BuildEngine = new MockEngine(_output), 144BuildEngine = new MockEngine(_output), 165BuildEngine = new MockEngine(_output), 188BuildEngine = new MockEngine(_output), 211BuildEngine = new MockEngine(_output), 237BuildEngine = new MockEngine(_output), 264BuildEngine = new MockEngine(_output), 286BuildEngine = new MockEngine(_output),
GetFileHash_Tests.cs (5)
32BuildEngine = _mockEngine, 45BuildEngine = _mockEngine, 58BuildEngine = _mockEngine, 71BuildEngine = _mockEngine, 90BuildEngine = _mockEngine,
GetInstalledSDKLocations_Tests.cs (7)
202t.BuildEngine = engine; 220t.BuildEngine = engine; 239t.BuildEngine = engine; 258t.BuildEngine = engine; 282t.BuildEngine = engine; 329t.BuildEngine = engine; 401t.BuildEngine = engine;
GetSDKReference_Tests.cs (30)
238BuildEngine = engine, 351t.BuildEngine = engine; 369t.BuildEngine = engine; 394t.BuildEngine = engine; 420t.BuildEngine = engine; 485t.BuildEngine = engine; 512t.BuildEngine = engine; 523t.BuildEngine = engine; 542BuildEngine = engine, 596t.BuildEngine = engine; 619t2.BuildEngine = engine; 662t.BuildEngine = engine; 710t.BuildEngine = engine; 755t.BuildEngine = engine; 778t.BuildEngine = engine; 803t.BuildEngine = engine; 854t.BuildEngine = engine; 905t.BuildEngine = engine; 940t.BuildEngine = engine; 1005t.BuildEngine = engine; 1036t.BuildEngine = engine; 1068t.BuildEngine = engine; 1099t.BuildEngine = engine; 1127t.BuildEngine = engine; 1156t.BuildEngine = engine; 1183t.BuildEngine = engine; 1211t.BuildEngine = engine; 1256t.BuildEngine = engine; 1298t.BuildEngine = engine; 1344t.BuildEngine = engine;
Hash_Tests.cs (2)
107BuildEngine = mockEngine, 152BuildEngine = new MockEngine(),
MakeDir_Tests.cs (6)
32t.BuildEngine = engine; 79t.BuildEngine = engine; 136t.BuildEngine = engine; 186t.BuildEngine = engine; 202t.BuildEngine = engine; 244t.BuildEngine = engine;
Move_Tests.cs (23)
43t.BuildEngine = new MockEngine(true /* log to console */); 88t.BuildEngine = new MockEngine(true /* log to console */); 137t.BuildEngine = new MockEngine(true /* log to console */); 183t.BuildEngine = new MockEngine(true /* log to console */); 226t.BuildEngine = new MockEngine(true /* log to console */); 278t.BuildEngine = new MockEngine(true /* log to console */); 334t.BuildEngine = new MockEngine(true /* log to console */); 388t.BuildEngine = new MockEngine(true /* log to console */); 444t.BuildEngine = engine; 510move.BuildEngine = new MockEngine(true /* log to console */); 533move.BuildEngine = new MockEngine(); 547move.BuildEngine = new MockEngine(); 563move.BuildEngine = new MockEngine(); 578move.BuildEngine = new MockEngine(); 612t.BuildEngine = engine; 656t.BuildEngine = engine; 696t.BuildEngine = new MockEngine(true /* log to console */); 758t.BuildEngine = engine; 799t.BuildEngine = new MockEngine(true /* log to console */); 828t.BuildEngine = new MockEngine(true /* log to console */); 846t.BuildEngine = new MockEngine(true /* log to console */); 864t.BuildEngine = new MockEngine(true /* log to console */); 882t.BuildEngine = new MockEngine(true /* log to console */);
MSBuild_Tests.cs (15)
78BuildEngine = new MockEngine(_testOutput), 126msbuildTask.BuildEngine = new MockEngine(); 522msbuildTask.BuildEngine = new MockEngine(); 580msbuildTask.BuildEngine = new MockEngine(); 636msbuildTask.BuildEngine = new MockEngine(); 691msbuildTask.BuildEngine = new MockEngine(); 738msbuildTask.BuildEngine = new MockEngine(); 797msbuildTask.BuildEngine = new MockEngine(); 852msbuildTask.BuildEngine = new MockEngine(); 910msbuildTask.BuildEngine = new MockEngine(); 963msbuildTask.BuildEngine = mockEngine; 1162msbuildTask.BuildEngine = mockEngine; 1179msbuildTask.BuildEngine = mockEngine; 1225msbuildTask.BuildEngine = mockEngine; 1341msbuildTask.BuildEngine = new MockEngine();
RemoveDir_Tests.cs (5)
38t.BuildEngine = new MockEngine(_output); 63BuildEngine = new MockEngine(_output), 71BuildEngine = new MockEngine(_output), 85BuildEngine = new MockEngine(_output), 110t.BuildEngine = new MockEngine(_output);
RemoveDuplicates_Tests.cs (7)
21t.BuildEngine = new MockEngine(); 39t.BuildEngine = new MockEngine(); 57t.BuildEngine = new MockEngine(); 83t.BuildEngine = new MockEngine(); 109t.BuildEngine = new MockEngine(); 128t.BuildEngine = new MockEngine(); 146t.BuildEngine = new MockEngine();
ResolveCodeAnalysisRuleSet_Tests.cs (12)
55task.BuildEngine = mockEngine; 76task.BuildEngine = mockEngine; 100task.BuildEngine = mockEngine; 119task.BuildEngine = mockEngine; 148task.BuildEngine = mockEngine; 170task.BuildEngine = mockEngine; 199task.BuildEngine = mockEngine; 222task.BuildEngine = mockEngine; 246task.BuildEngine = mockEngine; 277task.BuildEngine = mockEngine; 297task.BuildEngine = mockEngine; 316task.BuildEngine = mockEngine;
ResolveNonMSBuildProjectOutput_Tests.cs (3)
191rvpo.BuildEngine = engine; 344rvpo.BuildEngine = engine; 351rvpo.BuildEngine = engine;
ResolveSDKReference_Tests.cs (60)
200t1.BuildEngine = engine1; 218t2.BuildEngine = engine2; 236t3.BuildEngine = engine3; 254t3a.BuildEngine = engine3a; 275t4.BuildEngine = engine4; 292t5.BuildEngine = engine5; 444t.BuildEngine = engine; 505t.BuildEngine = engine; 550t.BuildEngine = engine; 564t.BuildEngine = engine; 612t.BuildEngine = engine; 667t.BuildEngine = engine; 725t.BuildEngine = engine; 780t.BuildEngine = engine; 835t.BuildEngine = engine; 890t.BuildEngine = engine; 947t.BuildEngine = engine; 1001t.BuildEngine = engine; 1056t.BuildEngine = engine; 1089t.BuildEngine = engine; 1127t.BuildEngine = engine; 1168t.BuildEngine = engine; 1206t.BuildEngine = engine; 1245t.BuildEngine = engine; 1279t.BuildEngine = engine; 1311t.BuildEngine = engine; 1350t.BuildEngine = engine; 1388t.BuildEngine = engine; 1416t.BuildEngine = engine; 1478t.BuildEngine = engine; 1524t.BuildEngine = engine; 1582t.BuildEngine = engine; 1674t1.BuildEngine = engine1; 1687t2.BuildEngine = engine1; 1755t.BuildEngine = engine; 1853t.BuildEngine = engine; 1932t.BuildEngine = engine; 2003t.BuildEngine = engine; 2068t.BuildEngine = engine; 2143t.BuildEngine = engine; 2212t.BuildEngine = engine; 2282t.BuildEngine = engine; 2353t.BuildEngine = engine; 2426t.BuildEngine = engine; 2495t.BuildEngine = engine; 2569t.BuildEngine = engine; 2636t.BuildEngine = engine; 2701t.BuildEngine = engine; 2768t.BuildEngine = engine; 2861t.BuildEngine = engine; 2959t.BuildEngine = engine; 3071t.BuildEngine = engine; 3170t.BuildEngine = engine; 3250t.BuildEngine = engine; 3325t.BuildEngine = engine; 3401t.BuildEngine = engine; 3469t.BuildEngine = engine; 3543t.BuildEngine = engine; 3605t.BuildEngine = engine; 3679t.BuildEngine = engine;
ResourceHandling\GenerateResource_Tests.cs (2)
3717GenerateResource t = new GenerateResource { BuildEngine = new MockEngine(_output) }; 3903t.BuildEngine = new MockEngine(output);
TelemetryTaskTests.cs (4)
20BuildEngine = engine, 41BuildEngine = engine, 62BuildEngine = engine, 83BuildEngine = engine,
ToolTaskExtension_Tests.cs (2)
28t.BuildEngine = engine; 63t.BuildEngine = engine;
Touch_Tests.cs (10)
189t.BuildEngine = engine; 212t.BuildEngine = engine; 234t.BuildEngine = engine; 257t.BuildEngine = engine; 280t.BuildEngine = engine; 302t.BuildEngine = engine; 319t.BuildEngine = engine; 344t.BuildEngine = engine; 370t.BuildEngine = engine; 395t.BuildEngine = engine;
Unzip_Tests.cs (17)
39BuildEngine = _mockEngine, 67BuildEngine = _mockEngine, 80BuildEngine = _mockEngine, 95BuildEngine = _mockEngine, 124BuildEngine = _mockEngine, 146BuildEngine = _mockEngine, 192BuildEngine = _mockEngine, 216BuildEngine = _mockEngine, 236BuildEngine = _mockEngine, 261BuildEngine = _mockEngine, 290BuildEngine = _mockEngine, 323BuildEngine = _mockEngine, 356BuildEngine = _mockEngine, 384BuildEngine = _mockEngine, 412BuildEngine = _mockEngine, 440BuildEngine = _mockEngine, 474BuildEngine = _mockEngine,
VerifyFileHash_Tests.cs (5)
31BuildEngine = _mockEngine, 49BuildEngine = _mockEngine, 67BuildEngine = _mockEngine, 88BuildEngine = _mockEngine, 107BuildEngine = _mockEngine,
WriteCodeFragment_Tests.cs (31)
32task.BuildEngine = engine; 49task.BuildEngine = engine; 65task.BuildEngine = engine; 81task.BuildEngine = engine; 112task.BuildEngine = engine; 132task.BuildEngine = engine; 150task.BuildEngine = engine; 172task.BuildEngine = engine; 207task.BuildEngine = engine; 234task.BuildEngine = engine; 253task.BuildEngine = engine; 271task.BuildEngine = engine; 293task.BuildEngine = engine; 322task.BuildEngine = engine; 345task.BuildEngine = engine; 374task.BuildEngine = engine; 401task.BuildEngine = engine; 422task.BuildEngine = engine; 453task.BuildEngine = engine; 476task.BuildEngine = engine; 499task.BuildEngine = engine; 523task.BuildEngine = engine; 555task.BuildEngine = engine; 591task.BuildEngine = engine; 624task.BuildEngine = engine; 647task.BuildEngine = engine; 670task.BuildEngine = engine; 693task.BuildEngine = engine; 726task.BuildEngine = engine; 1095task.BuildEngine = engine; 1129task.BuildEngine = engine;
WriteLinesToFile_Tests.cs (15)
35BuildEngine = new MockEngine(_output), 58BuildEngine = new MockEngine(_output), 77BuildEngine = new MockEngine(_output), 109BuildEngine = new MockEngine(_output), 130BuildEngine = new MockEngine(_output), 142BuildEngine = new MockEngine(_output), 168BuildEngine = engine, 192BuildEngine = new MockEngine(_output), 213BuildEngine = new MockEngine(_output), 226BuildEngine = new MockEngine(_output), 271BuildEngine = new MockEngine(_output), 282BuildEngine = new MockEngine(_output), 305BuildEngine = new MockEngine(_output), 336BuildEngine = new MockEngine(_output), 362BuildEngine = new MockEngine(_output),
XmlPeek_Tests.cs (12)
70p.BuildEngine = engine; 93p.BuildEngine = engine; 122p.BuildEngine = engine; 151p.BuildEngine = engine; 171p.BuildEngine = engine; 194p.BuildEngine = engine; 217p.BuildEngine = engine; 233p.BuildEngine = engine; 250p.BuildEngine = engine; 268p.BuildEngine = engine; 297p.BuildEngine = engine; 352p.BuildEngine = engine;
XmlPoke_Tests.cs (5)
185BuildEngine = engine, 228p.BuildEngine = engine; 247p.BuildEngine = engine; 275p.BuildEngine = engine; 355BuildEngine = engine,
XslTransformation_Tests.cs (24)
113t.BuildEngine = engine; 176t.BuildEngine = engine; 222t.BuildEngine = engine; 271t.BuildEngine = engine; 301t.BuildEngine = engine; 335t.BuildEngine = engine; 369t.BuildEngine = engine; 406t.BuildEngine = engine; 454t.BuildEngine = engine; 496t.BuildEngine = engine; 582t.BuildEngine = engine; 621t.BuildEngine = engine; 647t.BuildEngine = engine; 676t.BuildEngine = engine; 732t.BuildEngine = engine; 765t.BuildEngine = engine; 800t.BuildEngine = engine; 831t.BuildEngine = engine; 872t.BuildEngine = engine; 964t.BuildEngine = engine; 1015t.BuildEngine = engine; 1027t.BuildEngine = engine; 1073t.BuildEngine = engine; 1083t.BuildEngine = engine;
ZipDirectory_Tests.cs (4)
36BuildEngine = _mockEngine, 77BuildEngine = _mockEngine, 116BuildEngine = _mockEngine, 132BuildEngine = _mockEngine,
Microsoft.Build.Utilities.UnitTests (38)
TaskLoggingHelper_Tests.cs (8)
94t.BuildEngine = mockEngine; 114t.BuildEngine = mockEngine; 129t.BuildEngine = mockEngine; 151t.BuildEngine = mockEngine; 190t.BuildEngine = mockEngine; 199t.BuildEngine = mockEngine; 245task.BuildEngine = engine; 305BuildEngine = engine
ToolTask_Tests.cs (30)
129t.BuildEngine = engine; 145t.BuildEngine = engine; 161t.BuildEngine = engine; 187t.BuildEngine = engine; 212t.BuildEngine = engine; 238t.BuildEngine = engine; 259t.BuildEngine = engine; 288t.BuildEngine = engine; 311t.BuildEngine = engine; 335t.BuildEngine = engine; 360t.BuildEngine = engine; 381t.BuildEngine = engine; 408t.BuildEngine = engine; 428t.BuildEngine = engine; 456t.BuildEngine = engine; 484t.BuildEngine = engine; 516t.BuildEngine = engine; 545task.BuildEngine = new MockEngine3(); 576task.BuildEngine = new MockEngine3(); 591task.BuildEngine = new MockEngine3(); 606task.BuildEngine = new MockEngine3(); 621task.BuildEngine = new MockEngine3(); 636task.BuildEngine = new MockEngine3(); 668BuildEngine = new MockEngine3(), 718task.BuildEngine = new MockEngine3(); 731t.BuildEngine = engine; 764t.BuildEngine = engine; 854BuildEngine = engine, 917BuildEngine = new MockEngine3() 950BuildEngine = engine,
Microsoft.DotNet.Arcade.Sdk.Tests (2)
GenerateResxSourceTests.cs (1)
34BuildEngine = engine,
SourceMappingToNugetConfigTest.cs (1)
44BuildEngine = mockEngine.Object,
Microsoft.DotNet.Build.Tasks.Feed (3)
src\BlobFeedAction.cs (1)
167BuildEngine = buildEngine
src\model\SetupTargetFeedConfigV3.cs (2)
204BuildEngine = BuildEngine, 232BuildEngine = BuildEngine,
Microsoft.DotNet.Build.Tasks.Feed.Tests (12)
GenerateBuildManifestTests.cs (1)
47BuildEngine = new MockBuildEngine(),
PublishArtifactsInManifestTests.cs (2)
42BuildEngine = buildEngine, 99BuildEngine = buildEngine,
PublishToSymbolServerTest.cs (8)
33BuildEngine = buildEngine, 214BuildEngine = buildEngine, 234BuildEngine = buildEngine, 268BuildEngine = buildEngine, 311BuildEngine = buildEngine, 354BuildEngine = buildEngine, 393BuildEngine = buildEngine, 418BuildEngine = buildEngine,
PushToBuildStorageTests.cs (1)
58BuildEngine = new MockBuildEngine(),
Microsoft.DotNet.Build.Tasks.Installers (1)
src\ExecWithRetries.cs (1)
68BuildEngine = BuildEngine,
Microsoft.DotNet.Build.Tasks.Templating.Tests (2)
GenerateFileFromTemplateTests.cs (2)
49task.BuildEngine = new MockBuildEngine(); 74task.BuildEngine = new MockBuildEngine();
Microsoft.DotNet.Build.Tasks.VisualStudio.Tests (3)
Vsix\FinalizeInsertionVsixFile.cs (3)
47BuildEngine = engine, 70BuildEngine = engine, 100BuildEngine = engine,
Microsoft.DotNet.Build.Tasks.Workloads (1)
Wix\WixToolTaskBase.cs (1)
50BuildEngine = engine ?? throw new ArgumentNullException(nameof(engine));
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
CreateVisualStudioWorkloadSetTests.cs (1)
41BuildEngine = buildEngine,
CreateVisualStudioWorkloadTests.cs (2)
63BuildEngine = buildEngine, 200BuildEngine = buildEngine,
Microsoft.DotNet.Helix.Sdk.Tests (9)
CreateXHarnessAndroidWorkItemsTests.cs (1)
38BuildEngine = new MockBuildEngine(),
CreateXHarnessAppleWorkItemsTests.cs (1)
40BuildEngine = new MockBuildEngine(),
FindDotNetCliPackageTests.cs (4)
55BuildEngine = buildEngineMock 102BuildEngine = buildEngineMock 153BuildEngine = buildEngineMock 208BuildEngine = buildEngineMock
InstallDotNetToolTests.cs (3)
74BuildEngine = new MockBuildEngine(), 257BuildEngine = new MockBuildEngine(), 265BuildEngine = new MockBuildEngine(),
Microsoft.DotNet.NuGetRepack.Tests (1)
ReplacePackagePartsTests.cs (1)
30BuildEngine = engine,
Microsoft.DotNet.SourceBuild.Tasks.Tests (4)
ValidateUsageAgainstBaselineTests.cs (4)
35var task = new ValidateUsageAgainstBaseline { BuildEngine = mockEngine.Object }; 52var task = new ValidateUsageAgainstBaseline { BuildEngine = mockEngine.Object }; 73var task = new ValidateUsageAgainstBaseline { BuildEngine = mockEngine.Object }; 94var task = new ValidateUsageAgainstBaseline { BuildEngine = mockEngine.Object };
Microsoft.Extensions.ApiDescription.Client.Tests (2)
GetOpenApiReferenceMetadataTest.cs (2)
262BuildEngine = buildEngine, 308BuildEngine = buildEngine,
131 references to BuildEngine
Crossgen2Tasks (1)
CommonFilePulledFromSdkRepo\TaskBase.cs (1)
52(BuildEngine as IBuildEngine5)?.LogTelemetry(eventName, new Dictionary<string, string> {
Microsoft.Build.Engine.UnitTests (4)
BackEnd\CustomBuildEventTask.cs (1)
17BuildEngine.LogCustomEvent(customBuildEvent);
BackEnd\FailingBuilderTask.cs (1)
21return BuildEngine.BuildProjectFile(CurrentProject, new string[] { "ErrorTask" }, new Hashtable(), null);
BackEnd\FailingTask.cs (2)
17BuildEngine.GetType().GetProperty("AllowFailureWithoutError").SetValue(BuildEngine, AllowFailureWithoutError.Equals("True"));
Microsoft.Build.Tasks.Core (4)
AssemblyDependency\ResolveAssemblyReference.cs (1)
2378BuildEngine,
CreateItem.cs (2)
167BuildEngine.ProjectFileOfTaskNode); 177BuildEngine.ProjectFileOfTaskNode);
GetInstalledSDKLocations.cs (1)
192if (BuildEngine is IBuildEngine4 buildEngine4)
Microsoft.Build.Tasks.UnitTests (101)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
3061MockEngine e = (MockEngine)t.BuildEngine;
CombinePath_Tests.cs (1)
216((MockEngine)t.BuildEngine).AssertLogContains("MSB3095");
Copy_Tests.cs (35)
517((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 625((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 678((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 738((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // did not do retries as it was r/o 805((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 868((MockEngine)t.BuildEngine).AssertLogContains("MSB3026"); 869Assert.Equal(((t.Retries + 1) * 3) - 1, ((MockEngine)t.BuildEngine).Warnings); 872((MockEngine)t.BuildEngine).AssertLogContains("MSB3027"); 873((MockEngine)t.BuildEngine).AssertLogContains("MSB3021"); 874Assert.Equal(2, ((MockEngine)t.BuildEngine).Errors); 939((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1016((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1078((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1206((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1247((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1294((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1643((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1695((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries, nothing to do 1715((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries, nothing to do 1766((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries, nothing to do 1831((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); 1904((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 1965((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2027((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2104((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2154((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2200((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2239((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2263((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2287((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2600((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2701((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2792((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries 2858((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3891"); // Didn't do retries 2986((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3026"); // Didn't do retries
Delete_Tests.cs (2)
73((MockEngine)t.BuildEngine).AssertLogContains("MSB3062"); 85((MockEngine)t.BuildEngine).AssertLogDoesntContain("MSB3062");
Exec_Tests.cs (41)
95MockEngine engine = (MockEngine)exec.BuildEngine; 153((MockEngine)exec.BuildEngine).AssertLogContains("MSB3073"); 156((MockEngine)exec.BuildEngine).AssertLogContains("cp: "); 172((MockEngine)exec.BuildEngine).AssertLogContains("MSB5002"); 173int warningsCount = ((MockEngine)exec.BuildEngine).Warnings; 176((MockEngine)exec.BuildEngine).WarningEvents.Select(w => w.Message))); 179Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 191MockEngine mockEngine = (MockEngine)exec.BuildEngine; 210Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 211Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 239((MockEngine)exec.BuildEngine).AssertLogContains("MSB3073"); 276((MockEngine)exec.BuildEngine).AssertLogContains("[" + working + "]"); 310((MockEngine)exec.BuildEngine).AssertLogContains("[" + expected + "]"); 343((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 381((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 418((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 455((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 595((MockEngine)exec.BuildEngine).AssertLogContains("[hello]"); 620((MockEngine)exec.BuildEngine).AssertLogContains("MSB6003"); 633((MockEngine)exec.BuildEngine).AssertLogContains("MSB6003"); 653MockEngine e = (MockEngine)exec.BuildEngine; 675MockEngine e = (MockEngine)exec.BuildEngine; 684e = (MockEngine)exec.BuildEngine; 706MockEngine e = (MockEngine)exec.BuildEngine; 716e = (MockEngine)exec.BuildEngine; 735Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 736Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 752Assert.Equal(3, ((MockEngine)exec.BuildEngine).Errors); 753Assert.Equal(2, ((MockEngine)exec.BuildEngine).Warnings); 767((MockEngine)exec.BuildEngine).AssertLogContains("unmatched curly {"); 768Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 769Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 784((MockEngine)exec.BuildEngine).AssertLogContains("unmatched curly {"); 785Assert.Equal(0, ((MockEngine)exec.BuildEngine).Errors); 786Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 802Assert.Equal(2, ((MockEngine)exec.BuildEngine).Errors); 803Assert.Equal(1, ((MockEngine)exec.BuildEngine).Warnings); 815Assert.Equal(2, ((MockEngine)exec.BuildEngine).Errors); 816Assert.Equal(0, ((MockEngine)exec.BuildEngine).Warnings); 876((MockEngine)exec.BuildEngine).AssertLogContains("MSB3072"); 892((MockEngine)exec.BuildEngine).AssertLogContains("[myvalue]");
GetCompatiblePlatform_Tests.cs (4)
174((MockEngine)task.BuildEngine).AssertLogContains("MSB3981"); 197((MockEngine)task.BuildEngine).AssertLogContains("MSB3982"); 222((MockEngine)task.BuildEngine).AssertLogContains("MSB3983"); 248((MockEngine)task.BuildEngine).AssertLogContains("MSB3983");
Move_Tests.cs (5)
517((MockEngine)move.BuildEngine).AssertLogContains("MSB3677"); 537((MockEngine)move.BuildEngine).AssertLogContains("MSB3679"); 553((MockEngine)move.BuildEngine).AssertLogContains("MSB3678"); 568((MockEngine)move.BuildEngine).AssertLogContains("MSB3676"); 583((MockEngine)move.BuildEngine).AssertLogContains("MSB3681");
MSBuild_Tests.cs (1)
1536this.BuildEngine.BuildProjectFile(Project, Targets, null, null);
RemoveDir_Tests.cs (2)
114((MockEngine)t.BuildEngine).Warnings.ShouldBe(20); 115((MockEngine)t.BuildEngine).AssertLogContains("MSB3232");
ResourceHandling\GenerateResource_Tests.cs (8)
3721((MockEngine)t.BuildEngine).AssertLogContains("MSB3552"); 3722Assert.Equal(1, ((MockEngine)t.BuildEngine).Errors); 3759((MockEngine)t.BuildEngine).Log); 3788Assert.Matches(sb.ToString(), ((MockEngine)t.BuildEngine).Log); 3792Assert.Contains(unformattedMessage, ((MockEngine)t.BuildEngine).Log); 3801Assert.Contains(message, ((MockEngine)t.BuildEngine).Log); 3809Assert.DoesNotContain(String.Format(AssemblyResources.GetString(messageID), replacements), ((MockEngine)t.BuildEngine).Log); 3817Assert.DoesNotContain(message, ((MockEngine)t.BuildEngine).Log);
WriteLinesToFile_Tests.cs (1)
42((MockEngine)a.BuildEngine).AssertLogContains("MSB3098");
Microsoft.Build.Utilities.Core (8)
Task.cs (8)
72public IBuildEngine2 BuildEngine2 => (IBuildEngine2)BuildEngine; 77public IBuildEngine3 BuildEngine3 => (IBuildEngine3)BuildEngine; 82public IBuildEngine4 BuildEngine4 => (IBuildEngine4)BuildEngine; 87public IBuildEngine5 BuildEngine5 => (IBuildEngine5)BuildEngine; 92public IBuildEngine6 BuildEngine6 => (IBuildEngine6)BuildEngine; 97public IBuildEngine7 BuildEngine7 => (IBuildEngine7)BuildEngine; 102public IBuildEngine8 BuildEngine8 => (IBuildEngine8)BuildEngine; 107public IBuildEngine9 BuildEngine9 => (IBuildEngine9)BuildEngine;
Microsoft.DotNet.Build.Tasks.Workloads (4)
CreateVisualStudioWorkload.wix.cs (3)
169var manifestMsi = new WorkloadManifestMsi(manifestPackage, platform, BuildEngine, WixToolsetPath, BaseIntermediateOutputPath, EnableSideBySideManifests); 344WorkloadPackMsi msi = new(data.Package, platform, BuildEngine, WixToolsetPath, BaseIntermediateOutputPath); 391WorkloadPackGroupMsi msi = new(packGroup, platform, BuildEngine, WixToolsetPath, BaseIntermediateOutputPath);
CreateVisualStudioWorkloadSet.wix.cs (1)
53var workloadSetMsi = new WorkloadSetMsi(workloadSetPackage, platform, BuildEngine,
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
276BuildEngine,
Microsoft.Maui.Resizetizer (6)
AsyncTask.cs (6)
219 BuildEngine.LogCustomEvent(e); 262 if (YieldDuringToolExecution && BuildEngine is IBuildEngine3) 263 ((IBuildEngine3)BuildEngine).Yield(); 268 if (YieldDuringToolExecution && BuildEngine is IBuildEngine3) 269 ((IBuildEngine3)BuildEngine).Reacquire(); 332 BuildEngine.LogCustomEvent(e);
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (2)
183retValue = BuildEngine.BuildProjectFile(tempProj, new string[] { CompileTargetName }, globalProperties, targetOutputs); 298retValue = BuildEngine.BuildProjectFile(TemporaryTargetAssemblyProjectName, new string[] { CompileTargetName }, null, targetOutputs);