201 instantiations of BuildRequestData
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
2033var request = new BuildRequestData(
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
365BuildRequestData data = new BuildRequestData(projectFiles[i], properties[i].ToDictionary(), explicitToolsVersion, targets, null);
Instance\ProjectInstance.cs (1)
2694BuildRequestData data = new BuildRequestData(this, targets, _hostServices);
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectInstance_Tests.cs (2)
400BuildRequestData buildRequestData1 = new BuildRequestData(instance1, Array.Empty<string>()); 406BuildRequestData buildRequestData2 = new BuildRequestData(instance1, Array.Empty<string>());
Microsoft.Build.Engine.UnitTests (180)
BackEnd\BuildManager_Logging_Tests.cs (1)
117var buildRequestData = new BuildRequestData(
BackEnd\BuildManager_Tests.cs (64)
199new BuildRequestData( 369var requestData = new BuildRequestData(rootProject, new[] { "Build" }, null); 444var data = new BuildRequestData(project.CreateProjectInstance(), Array.Empty<string>(), _projectCollection.HostServices); 505var data = new BuildRequestData(project.CreateProjectInstance(), new[] { "test", "other" }, 651var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 704var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 774var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 834var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 901var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 932var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 1099BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1119BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1155var brd = new BuildRequestData(project.FullPath, globalProperties, null, targets, new HostServices()); 1218BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1247new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1406var data2 = new BuildRequestData(data.ProjectInstance, data.TargetNames.ToArray(), data.HostServices); 1457var data2 = new BuildRequestData(data.ProjectInstance, new[] { "MaySkip" }, data.HostServices); 1778BuildResult result1 = _buildManager.BuildRequest(new BuildRequestData(instance, new[] { "target1" })); 1779BuildResult result2 = _buildManager.BuildRequest(new BuildRequestData(instance, new[] { "target2" })); 1810BuildSubmission submission = _buildManager.PendBuildRequest(new BuildRequestData(instance, new[] { "target1" })); 1812BuildResult result2 = _buildManager.BuildRequest(new BuildRequestData(project.CreateProjectInstance(), new[] { "target2" })); 1845BuildSubmission submission = _buildManager.PendBuildRequest(new BuildRequestData(instance, new[] { "target1" })); 1847BuildResult result2 = _buildManager.BuildRequest(new BuildRequestData(project.CreateProjectInstance(), new[] { "target1" })); 1881var data = new BuildRequestData(projectFile, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 2036var data = new BuildRequestData(projectInstance, Array.Empty<string>()); 2063var data2 = new BuildRequestData(projectInstance2, Array.Empty<string>()); 2103var data = new BuildRequestData(rootProjectPath, ReadOnlyEmptyDictionary<string, string>.Instance, null, new[] { "test" }, null); 2123data = new BuildRequestData(rootProjectPath, ReadOnlyEmptyDictionary<string, string>.Instance, null, new[] { "test" }, null); 2197var data = new BuildRequestData(fileName, _projectCollection.GlobalProperties, MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 2281var data = new BuildRequestData(instance, Array.Empty<string>()); 2321var data = new BuildRequestData(instance, Array.Empty<string>(), null, BuildRequestDataFlags.None, new string[] { "VirtualProp" }); 2412var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2473var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2531var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2579var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2668var data = new BuildRequestData(projA, new Dictionary<string, string>(), "4.0", new[] { "Build" }, new HostServices()); 2738var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 2835var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 2935var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 3021var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 3090var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 3142BuildRequestData requestData = new BuildRequestData(pi, new[] { "Build" }); 3152BuildRequestData requestData = new BuildRequestData(pi, new[] { "Build" }); 3221BuildRequestData requestData = new BuildRequestData(pi, new[] { "MSDeployPublish" }); 3232BuildRequestData requestData = new BuildRequestData(pi, new string[] { "CopyRunEnvironmentFiles" }); 3308BuildRequestData requestData = new BuildRequestData(pi, new string[] { "MSDeployPublish" }); 3319BuildRequestData requestData = new BuildRequestData(pi, new string[] { "CopyRunEnvironmentFiles" }); 3375var data = new BuildRequestData(fileName, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "BaseTest" }, services); 3383data = new BuildRequestData(fileName, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "MovedTest" }, services); 3411BuildResult result1 = _buildManager.BuildRequest(new BuildRequestData(instance, new[] { "target1" })); 3441BuildResult result1 = _buildManager.BuildRequest(new BuildRequestData(instance, new[] { "target1" })); 3472BuildResult buildResult = _buildManager.BuildRequest(new BuildRequestData(instance, new string[] { "target1", "target2" })); 3514BuildRequestData data = new BuildRequestData(fileName, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "One", "Two", "Three" }, services); 3565=> new BuildRequestData(CreateProjectInstance(projectContents, toolsVersion, _projectCollection, true), targets, _projectCollection.HostServices); 3711var request = new BuildRequestData(mainInstance, new[] { "BuildOther" }); 3740request = new BuildRequestData(p2pInstance, new[] { "Foo" }); 3798var buildRequestData = new BuildRequestData( 3863var request = new BuildRequestData(instance, new[] { "Foo" }); 3893request = new BuildRequestData(instance, new[] { "Foo" }, null, 3955var buildRequestData = new BuildRequestData( 4046var buildRequestData = new BuildRequestData(entryFile, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "EntryTarget" }, null); 4102var request1 = new BuildRequestData(testFiles.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, new[] { "Build" }, null); 4103var request2 = new BuildRequestData(testFiles.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, new[] { "Build" }, null); 4414BuildResult result = _buildManager.BuildRequest(new BuildRequestData(instance, new[] { "target1" }));
BackEnd\BuildRequestConfiguration_Tests.cs (37)
44BuildRequestData config1 = new BuildRequestData(null, new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 52BuildRequestData config1 = new BuildRequestData("file", null, "toolsVersion", Array.Empty<string>(), null); 58BuildRequestData config1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 66BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 74BuildRequestData config1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 81BuildRequestData config1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 90BuildRequestData config1 = new BuildRequestData(null, new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 99BuildRequestData config1 = new BuildRequestData("file", null, "toolsVersion", Array.Empty<string>(), null); 105BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 109BuildRequestData data2 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 113BuildRequestData data3 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 121BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 125BuildRequestData data2 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 129BuildRequestData data3 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 139BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 147BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 157BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 165BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 174BuildRequestConfiguration config1 = new BuildRequestConfiguration(new BuildRequestData("file", props, "toolsVersion", Array.Empty<string>(), null), "2.0"); 182BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 196BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 204BuildRequestConfiguration config1 = new BuildRequestConfiguration(new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null), "2.0"); 205BuildRequestConfiguration config2 = new BuildRequestConfiguration(new BuildRequestData("File", new Dictionary<string, string>(), "ToolsVersion", Array.Empty<string>(), null), "2.0"); 206BuildRequestConfiguration config3 = new BuildRequestConfiguration(new BuildRequestData("file2", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null), "2.0"); 207BuildRequestConfiguration config4 = new BuildRequestConfiguration(new BuildRequestData("file2", new Dictionary<string, string>(), "toolsVersion2", Array.Empty<string>(), null), "2.0"); 208BuildRequestConfiguration config5 = new BuildRequestConfiguration(new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion2", Array.Empty<string>(), null), "2.0"); 219BuildRequestConfiguration config1 = new BuildRequestConfiguration(new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null), "2.0"); 221BuildRequestConfiguration config2 = new BuildRequestConfiguration(new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null), "2.0"); 224BuildRequestConfiguration config3 = new BuildRequestConfiguration(new BuildRequestData("file2", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null), "2.0"); 227BuildRequestConfiguration config4 = new BuildRequestConfiguration(new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion2", Array.Empty<string>(), null), "2.0"); 232BuildRequestData data = new BuildRequestData("file", props.ToDictionary(), "toolsVersion", Array.Empty<string>(), null); 247BuildRequestData data = new BuildRequestData("file", properties.ToDictionary(), "4.0", Array.Empty<string>(), null); 290BuildRequestConfiguration configuration = new BuildRequestConfiguration(new BuildRequestData(instance, Array.Empty<string>(), null), "2.0"); 310BuildRequestConfiguration configuration = new BuildRequestConfiguration(new BuildRequestData("path", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null), "2.0"); 364BuildRequestConfiguration configuration = new BuildRequestConfiguration(new BuildRequestData(instance, Array.Empty<string>(), null), "2.0"); 466BuildRequestConfiguration configuration = new BuildRequestConfiguration(new BuildRequestData(instance, Array.Empty<string>(), null), "2.0"); 570var configuration = new BuildRequestConfiguration(new BuildRequestData(projectInstance, Array.Empty<string>()), MSBuildConstants.CurrentToolsVersion);
BackEnd\BuildRequestEngine_Tests.cs (5)
337BuildRequestData data = new BuildRequestData("TestFile", new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 368BuildRequestData data = new BuildRequestData("TestFile", new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 396BuildRequestData data = new BuildRequestData("TestFile", new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 449BuildRequestData data = new BuildRequestData(Path.GetFullPath("TestFile"), new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 455BuildRequestData data2 = new BuildRequestData(Path.GetFullPath("OtherFile"), new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null);
BackEnd\BuildRequestEntry_Tests.cs (10)
24BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 45BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0"); 93BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 115BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 145BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0"); 182BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 198BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 215BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 239BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0"); 259BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0");
BackEnd\CacheAggregator_Tests.cs (11)
78configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 79configCache.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path2", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "c", "d" }, null), "13")); 100configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 129configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 151configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 159configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 195configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 213configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 214configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path2", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "c", "d" }, null), "13")); 225configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path3", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "e", "f" }, null), "13")); 226configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path4", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "g", "h" }, null), "13"));
BackEnd\CacheSerialization_Tests.cs (3)
27new BuildRequestData("path1", new Dictionary<string, string> { ["a1"] = "b1" }, Constants.defaultToolsVersion, new[] { "target1", "target2" }, null), 32new BuildRequestData("path2", new Dictionary<string, string> { ["a2"] = "b2" }, Constants.defaultToolsVersion, new[] { "target2" }, null), 36new BuildRequestData("path3", new Dictionary<string, string> { ["a3"] = "b3" }, Constants.defaultToolsVersion, new[] { "target3" }, null),
BackEnd\ConfigCache_Tests.cs (6)
27new BuildRequestData("path1", new Dictionary<string, string> { ["a1"] = "b1" }, Constants.defaultToolsVersion, new[] { "target1" }, null), 37new BuildRequestData("path2", new Dictionary<string, string> { ["a2"] = "b2" }, Constants.defaultToolsVersion, new[] { "target2" }, null), 46new BuildRequestData("path3", new Dictionary<string, string> { ["a3"] = "b3" }, Constants.defaultToolsVersion, new[] { "target3" }, null), 74new BuildRequestData("path1", new Dictionary<string, string> { ["a1"] = "b1" }, Constants.defaultToolsVersion, new[] { "target1" }, null), 78new BuildRequestData("path2", new Dictionary<string, string> { ["a2"] = "b2" }, Constants.defaultToolsVersion, new[] { "target2" }, null), 82new BuildRequestData("path3", new Dictionary<string, string> { ["a3"] = "b3" }, Constants.defaultToolsVersion, new[] { "target3" }, null),
BackEnd\ConfigurationMetadata_Tests.cs (5)
62BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 88BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 104BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 113data = new BuildRequestData("file2", new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 118data = new BuildRequestData("file", new Dictionary<string, string>(), "3.0", Array.Empty<string>(), null);
BackEnd\FullyQualifiedBuildRequest_Tests.cs (4)
19BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null); 24BuildRequestData data3 = new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null); 42FullyQualifiedBuildRequest request = new FullyQualifiedBuildRequest(new BuildRequestConfiguration(new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null), "2.0"), null, true); 48BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null);
BackEnd\IntrinsicTask_Tests.cs (2)
3958BuildRequestEntry entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { "t" }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0")); 3993var entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { targetName }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0"));
BackEnd\LoggingService_Tests.cs (1)
964BuildRequestData buildRequestData = new BuildRequestData("projectFile", new Dictionary<string, string>(), "Current", new[] { "Build" }, null);
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
841BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 867BuildRequestData data = new BuildRequestData(ProjectFile, new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 906BuildRequestData data = new BuildRequestData(ProjectFile, new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 947BuildRequestData data = new BuildRequestData(ProjectFile, new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 1420BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null);
BackEnd\RequestBuilder_Tests.cs (2)
226BuildRequestConfiguration configuration = new BuildRequestConfiguration(1, new BuildRequestData("testName", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0"); 267new BuildRequestData(
BackEnd\Scheduler_Tests.cs (2)
715BuildRequestData data = new BuildRequestData(project.CreateProjectInstance(), new string[] { "test" }); 734BuildRequestData data = new(projectFullPath, new Dictionary<string, string>(), "4.0", Array.Empty<string>(), null);
BackEnd\SdkResultOutOfProc_Tests.cs (2)
125var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.HostServices); 170var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.HostServices);
BackEnd\TargetBuilder_Tests.cs (1)
1676BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("testFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0");
BackEnd\TargetEntry_Tests.cs (6)
83BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 98BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 112BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 874BuildRequestData data = new BuildRequestData( 1026BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 1044BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0");
BackEnd\TaskBuilder_Tests.cs (2)
179BuildRequestData data = new BuildRequestData(project.CreateProjectInstance(), new string[] { "test" }, collection.HostServices); 1242BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("testfile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0");
BackEnd\TaskHost_Tests.cs (1)
76BuildRequestConfiguration configuration = new BuildRequestConfiguration(1, new BuildRequestData("Nothing", new Dictionary<string, string>(), "4.0", Array.Empty<string>(), null), "2.0");
BackEnd\TaskRegistry_Tests.cs (1)
669var request = new BuildRequestData(
BinaryLogger_Tests.cs (1)
598new BuildRequestData(entryProject.ProjectFile, new Dictionary<string, string>(), null, new string[] { "BuildSelf" }, null))
ConsoleLogger_Tests.cs (3)
221new BuildRequestData(p.CreateProjectInstance(), new[] { "Spawn" })); 262new BuildRequestData(p.CreateProjectInstance(), new[] { "Spawn" })); 314new BuildRequestData(p.CreateProjectInstance(), new[] { "Spawn" }));
Construction\SolutionProjectGenerator_Tests.cs (2)
2130BuildRequestData request = new BuildRequestData(projectFilePath, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 2218BuildRequestData request = new BuildRequestData(projectFilePath, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null);
EvaluationProfiler_Tests.cs (1)
284var buildRequestData = new BuildRequestData(
Instance\HostServices_Tests.cs (2)
393BuildRequestData data = new BuildRequestData(project, Array.Empty<string>(), hostServices); 396BuildRequestData data2 = new BuildRequestData(project, Array.Empty<string>(), hostServices);
Microsoft.Build.Tasks.UnitTests (3)
CreateItem_Tests.cs (1)
209BuildRequestData data = new BuildRequestData(projectFileFullPath, new Dictionary<string, string>(), null, new string[] { "Repro" }, null);
Exec_Tests.cs (2)
962var request = new BuildRequestData( 1019var request = new BuildRequestData(
Microsoft.Build.UnitTests.Shared (4)
ObjectModelHelpers.cs (4)
1020BuildRequestData data = new BuildRequestData(projectFileFullPath, globalProperties ?? new Dictionary<string, string>(), null, targets, null); 1427var request = new BuildRequestData( 1486BuildRequestData data = new BuildRequestData(p, new[] { targetName }); 2108var buildRequestData = new BuildRequestData(
Microsoft.Build.Utilities.UnitTests (8)
MuxLogger_Tests.cs (8)
60buildManager.Build(parameters, new BuildRequestData(project, Array.Empty<string>(), null)); 100buildManager.Build(parameters, new BuildRequestData(project, Array.Empty<string>(), null)); 116BuildSubmission submission = buildManager.PendBuildRequest(new BuildRequestData(project, Array.Empty<string>(), null)); 160BuildSubmission submission = buildManager.PendBuildRequest(new BuildRequestData(project, Array.Empty<string>(), null)); 215BuildSubmission submission1 = buildManager.PendBuildRequest(new BuildRequestData(project1, Array.Empty<string>(), null)); 219BuildSubmission submission2 = buildManager.PendBuildRequest(new BuildRequestData(project2, Array.Empty<string>(), null)); 269BuildSubmission submission = buildManager.PendBuildRequest(new BuildRequestData(project, Array.Empty<string>(), null)); 321BuildSubmission submission = buildManager.PendBuildRequest(new BuildRequestData(project, Array.Empty<string>(), null));
MSBuild (1)
XMake.cs (1)
1587buildRequest = new BuildRequestData(projectFile, globalProperties, toolsVersion, targets, null, flags);
191 references to BuildRequestData
Microsoft.Build (27)
BackEnd\BuildManager\BuildManager.cs (12)
333/// <see cref="BuildManager.PendBuildRequest(Microsoft.Build.Execution.BuildRequestData)"/>, <see cref="BuildManager.BuildRequest(Microsoft.Build.Execution.BuildRequestData)"/>, <see cref="BuildManager.PendBuildRequest(GraphBuildRequestData)"/>, <see cref="BuildManager.BuildRequest(GraphBuildRequestData)"/>, and <see cref="BuildManager.EndBuild()"/> may be called in this state. 869public BuildSubmission PendBuildRequest(BuildRequestData requestData) 870=> (BuildSubmission)PendBuildRequest<BuildRequestData, BuildResult>(requestData); 923public BuildResult BuildRequest(BuildRequestData requestData) 924=> BuildRequest<BuildRequestData, BuildResult>(requestData); 1148public BuildResult Build(BuildParameters parameters, BuildRequestData requestData) 1149=> Build<BuildRequestData, BuildResult>(parameters, requestData); 1871ReportResultsToSubmission<BuildRequestData, BuildResult>(new BuildResult(submission.BuildRequest!, ex)); 2033var request = new BuildRequestData( 2316ReportResultsToSubmission<BuildRequestData, BuildResult>(result); 2625ReportResultsToSubmission<BuildRequestData, BuildResult>(response.BuildResult);
BackEnd\BuildManager\BuildRequestData.cs (3)
21public class BuildRequestData : BuildRequestData<BuildRequestData, BuildResult> 182internal override BuildSubmissionBase<BuildRequestData, BuildResult> CreateSubmission(BuildManager buildManager, 183int submissionId, BuildRequestData requestData,
BackEnd\BuildManager\BuildSubmission.cs (3)
146public class BuildSubmission : BuildSubmissionBase<BuildRequestData, BuildResult> 158internal BuildSubmission(BuildManager buildManager, int submissionId, BuildRequestData requestData, bool legacyThreadingSemantics) 170void Clb(BuildSubmissionBase<BuildRequestData, BuildResult> submission)
BackEnd\BuildManager\RequestedProjectState.cs (1)
14/// Interface defining properties, items, and metadata of interest for a <see cref="BuildRequestData"/>.
BackEnd\Components\ProjectCache\ProjectCachePluginBase.cs (1)
35BuildRequestData buildRequest,
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
456BuildRequestData buildRequest = new BuildRequestData( 502private async Task<CacheResult> GetCacheResultAsync(BuildRequestData buildRequest, BuildRequestConfiguration buildRequestConfiguration, BuildEventContext buildEventContext, CancellationToken cancellationToken)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
365BuildRequestData data = new BuildRequestData(projectFiles[i], properties[i].ToDictionary(), explicitToolsVersion, targets, null);
BackEnd\Shared\BuildRequestConfiguration.cs (3)
155internal BuildRequestConfiguration(BuildRequestData data, string defaultToolsVersion) 168internal BuildRequestConfiguration(int configId, BuildRequestData data, string defaultToolsVersion) 1043private static string ResolveToolsVersion(BuildRequestData data, string defaultToolsVersion)
Instance\ProjectInstance.cs (1)
2694BuildRequestData data = new BuildRequestData(this, targets, _hostServices);
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
89var request = new BuildRequestData(testProject.ProjectFile, new Dictionary<string, string?>(), MSBuildConstants.CurrentToolsVersion, [], null, BuildRequestDataFlags.None);
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectInstance_Tests.cs (2)
400BuildRequestData buildRequestData1 = new BuildRequestData(instance1, Array.Empty<string>()); 406BuildRequestData buildRequestData2 = new BuildRequestData(instance1, Array.Empty<string>());
Microsoft.Build.Engine.UnitTests (145)
BackEnd\BuildManager_Logging_Tests.cs (1)
117var buildRequestData = new BuildRequestData(
BackEnd\BuildManager_Tests.cs (79)
134BuildRequestData data = GetBuildRequestData(contents); 369var requestData = new BuildRequestData(rootProject, new[] { "Build" }, null); 444var data = new BuildRequestData(project.CreateProjectInstance(), Array.Empty<string>(), _projectCollection.HostServices); 505var data = new BuildRequestData(project.CreateProjectInstance(), new[] { "test", "other" }, 568BuildRequestData data = GetBuildRequestData(contents); 608BuildRequestData data = GetBuildRequestData(contents); 651var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 704var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 774var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 834var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 901var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 932var data = new BuildRequestData(project.FullPath, new Dictionary<string, string>(), 957BuildRequestData data = GetBuildRequestData(contents); 1042BuildRequestData data = GetBuildRequestData(contents); 1076BuildRequestData data = GetBuildRequestData(contents); 1099BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1119BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1155var brd = new BuildRequestData(project.FullPath, globalProperties, null, targets, new HostServices()); 1218BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "2.0", Array.Empty<string>(), null); 1246BuildRequestData data = 1274BuildRequestData data = GetBuildRequestData(contents); 1298BuildRequestData data = GetBuildRequestData(contents); 1337BuildRequestData data = GetBuildRequestData(contents); 1338BuildRequestData data2 = GetBuildRequestData(contents2); 1374BuildRequestData data = GetBuildRequestData(contents); 1375BuildRequestData data2 = GetBuildRequestData(contents2); 1405BuildRequestData data = GetBuildRequestData(contents); 1406var data2 = new BuildRequestData(data.ProjectInstance, data.TargetNames.ToArray(), data.HostServices); 1456BuildRequestData data = GetBuildRequestData(contents, new[] { "A" }); 1457var data2 = new BuildRequestData(data.ProjectInstance, new[] { "MaySkip" }, data.HostServices); 1489BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1509BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1541BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1588BuildRequestData data = GetBuildRequestData(contents); 1628BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1665BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1703BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1741BuildRequestData data = GetBuildRequestData(contents, Array.Empty<string>(), MSBuildDefaultToolsVersion); 1881var data = new BuildRequestData(projectFile, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 1923BuildRequestData data = GetBuildRequestData(contents); 1949BuildRequestData data = GetBuildRequestData(contents); 1981BuildRequestData data = GetBuildRequestData(contents); 2036var data = new BuildRequestData(projectInstance, Array.Empty<string>()); 2063var data2 = new BuildRequestData(projectInstance2, Array.Empty<string>()); 2103var data = new BuildRequestData(rootProjectPath, ReadOnlyEmptyDictionary<string, string>.Instance, null, new[] { "test" }, null); 2163BuildRequestData data = GetBuildRequestData(contents); 2197var data = new BuildRequestData(fileName, _projectCollection.GlobalProperties, MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 2222BuildRequestData data = GetBuildRequestData(contents); 2281var data = new BuildRequestData(instance, Array.Empty<string>()); 2321var data = new BuildRequestData(instance, Array.Empty<string>(), null, BuildRequestDataFlags.None, new string[] { "VirtualProp" }); 2412var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2473var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2531var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2579var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new HostServices()); 2668var data = new BuildRequestData(projA, new Dictionary<string, string>(), "4.0", new[] { "Build" }, new HostServices()); 2738var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 2835var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 2935var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 3021var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 3090var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, 3142BuildRequestData requestData = new BuildRequestData(pi, new[] { "Build" }); 3152BuildRequestData requestData = new BuildRequestData(pi, new[] { "Build" }); 3221BuildRequestData requestData = new BuildRequestData(pi, new[] { "MSDeployPublish" }); 3232BuildRequestData requestData = new BuildRequestData(pi, new string[] { "CopyRunEnvironmentFiles" }); 3308BuildRequestData requestData = new BuildRequestData(pi, new string[] { "MSDeployPublish" }); 3319BuildRequestData requestData = new BuildRequestData(pi, new string[] { "CopyRunEnvironmentFiles" }); 3375var data = new BuildRequestData(fileName, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "BaseTest" }, services); 3514BuildRequestData data = new BuildRequestData(fileName, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "One", "Two", "Three" }, services); 3554private BuildRequestData GetBuildRequestData(string projectContents) => GetBuildRequestData(projectContents, Array.Empty<string>()); 3564private BuildRequestData GetBuildRequestData(string projectContents, string[] targets, string toolsVersion = null) 3711var request = new BuildRequestData(mainInstance, new[] { "BuildOther" }); 3798var buildRequestData = new BuildRequestData( 3863var request = new BuildRequestData(instance, new[] { "Foo" }); 3955var buildRequestData = new BuildRequestData( 4046var buildRequestData = new BuildRequestData(entryFile, new Dictionary<string, string>(), MSBuildDefaultToolsVersion, new[] { "EntryTarget" }, null); 4102var request1 = new BuildRequestData(testFiles.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, new[] { "Build" }, null); 4103var request2 = new BuildRequestData(testFiles.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, new[] { "Build" }, null); 4164BuildRequestData data = GetBuildRequestData(contents); 4425BuildRequestData data = GetBuildRequestData(contents);
BackEnd\BuildOMCompatibility_Tests.cs (1)
26=> VerifyPropertyExists(typeof(BuildRequestData), propertyName);
BackEnd\BuildRequestConfiguration_Tests.cs (22)
44BuildRequestData config1 = new BuildRequestData(null, new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 52BuildRequestData config1 = new BuildRequestData("file", null, "toolsVersion", Array.Empty<string>(), null); 58BuildRequestData config1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 66BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 74BuildRequestData config1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 81BuildRequestData config1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 90BuildRequestData config1 = new BuildRequestData(null, new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 99BuildRequestData config1 = new BuildRequestData("file", null, "toolsVersion", Array.Empty<string>(), null); 105BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 109BuildRequestData data2 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 113BuildRequestData data3 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 121BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 125BuildRequestData data2 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 129BuildRequestData data3 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 139BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 147BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 157BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 165BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 182BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 196BuildRequestData data1 = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 232BuildRequestData data = new BuildRequestData("file", props.ToDictionary(), "toolsVersion", Array.Empty<string>(), null); 247BuildRequestData data = new BuildRequestData("file", properties.ToDictionary(), "4.0", Array.Empty<string>(), null);
BackEnd\BuildRequestEngine_Tests.cs (5)
337BuildRequestData data = new BuildRequestData("TestFile", new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 368BuildRequestData data = new BuildRequestData("TestFile", new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 396BuildRequestData data = new BuildRequestData("TestFile", new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 449BuildRequestData data = new BuildRequestData(Path.GetFullPath("TestFile"), new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null); 455BuildRequestData data2 = new BuildRequestData(Path.GetFullPath("OtherFile"), new Dictionary<string, string>(), "TestToolsVersion", Array.Empty<string>(), null);
BackEnd\BuildRequestEntry_Tests.cs (6)
24BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 93BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 115BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 182BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 198BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null); 215BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null);
BackEnd\ConfigurationMetadata_Tests.cs (3)
62BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), "toolsVersion", Array.Empty<string>(), null); 88BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 104BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null);
BackEnd\FullyQualifiedBuildRequest_Tests.cs (3)
19BuildRequestData data1 = new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null); 24BuildRequestData data3 = new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null); 48BuildRequestData data = new BuildRequestData("foo", new Dictionary<string, string>(), "tools", Array.Empty<string>(), null);
BackEnd\LoggingService_Tests.cs (1)
964BuildRequestData buildRequestData = new BuildRequestData("projectFile", new Dictionary<string, string>(), "Current", new[] { "Build" }, null);
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
841BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 867BuildRequestData data = new BuildRequestData(ProjectFile, new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 906BuildRequestData data = new BuildRequestData(ProjectFile, new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 947BuildRequestData data = new BuildRequestData(ProjectFile, new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null); 1420BuildRequestData data = new BuildRequestData("file", new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase), "toolsVersion", Array.Empty<string>(), null);
BackEnd\Scheduler_Tests.cs (2)
715BuildRequestData data = new BuildRequestData(project.CreateProjectInstance(), new string[] { "test" }); 734BuildRequestData data = new(projectFullPath, new Dictionary<string, string>(), "4.0", Array.Empty<string>(), null);
BackEnd\SdkResultOutOfProc_Tests.cs (2)
125var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.HostServices); 170var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.HostServices);
BackEnd\TargetEntry_Tests.cs (1)
874BuildRequestData data = new BuildRequestData(
BackEnd\TaskBuilder_Tests.cs (1)
179BuildRequestData data = new BuildRequestData(project.CreateProjectInstance(), new string[] { "test" }, collection.HostServices);
BackEnd\TaskRegistry_Tests.cs (1)
669var request = new BuildRequestData(
Construction\SolutionProjectGenerator_Tests.cs (2)
2130BuildRequestData request = new BuildRequestData(projectFilePath, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 2218BuildRequestData request = new BuildRequestData(projectFilePath, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, Array.Empty<string>(), null);
EvaluationProfiler_Tests.cs (1)
284var buildRequestData = new BuildRequestData(
Instance\HostServices_Tests.cs (2)
393BuildRequestData data = new BuildRequestData(project, Array.Empty<string>(), hostServices); 396BuildRequestData data2 = new BuildRequestData(project, Array.Empty<string>(), hostServices);
ProjectCache\ProjectCacheTests.cs (7)
195private readonly Func<BuildRequestData, PluginLoggerBase, CancellationToken, Task<CacheResult>> _getCacheResultDelegate; 197public DelegatingMockCache(Func<BuildRequestData, PluginLoggerBase, CancellationToken, Task<CacheResult>> getCacheResultDelegate) 207public override async Task<CacheResult> GetCacheResultAsync(BuildRequestData buildRequest, PluginLoggerBase logger, CancellationToken cancellationToken) 236public Func<BuildRequestData, PluginLoggerBase, CancellationToken, Task<CacheResult>>? GetCacheResultImplementation { get; set; } 246BuildRequestData buildRequest, 265public ConcurrentQueue<BuildRequestData> Requests { get; } = new(); 289BuildRequestData buildRequest,
Microsoft.Build.Tasks.UnitTests (3)
CreateItem_Tests.cs (1)
209BuildRequestData data = new BuildRequestData(projectFileFullPath, new Dictionary<string, string>(), null, new string[] { "Repro" }, null);
Exec_Tests.cs (2)
962var request = new BuildRequestData( 1019var request = new BuildRequestData(
Microsoft.Build.UnitTests.Shared (6)
ObjectModelHelpers.cs (6)
1020BuildRequestData data = new BuildRequestData(projectFileFullPath, globalProperties ?? new Dictionary<string, string>(), null, targets, null); 1427var request = new BuildRequestData( 1486BuildRequestData data = new BuildRequestData(p, new[] { targetName }); 2108var buildRequestData = new BuildRequestData( 2117public async Task<BuildResult> BuildAsync(BuildRequestData requestData) 2129public BuildResult Build(BuildRequestData requestData) => _buildManager.BuildRequest(requestData);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
Build\ProjectBuildManager.cs (3)
262var buildRequestData = new MSB.Execution.BuildRequestData(projectInstance, [.. targets]); 280private static async Task<MSB.Execution.BuildResult> BuildAsync(MSB.Execution.BuildRequestData requestData, CancellationToken cancellationToken) 289private static Task<MSB.Execution.BuildResult> BuildAsync(MSB.Execution.BuildManager buildManager, MSB.Execution.BuildRequestData requestData, CancellationToken cancellationToken)
MSBuild (3)
XMake.cs (3)
1569BuildRequestData buildRequest = null; 1800private static BuildResult ExecuteBuild(BuildManager buildManager, BuildRequestData request) 1864BuildRequestData restoreRequest = new BuildRequestData(
ProjectCachePlugin (1)
AssemblyMockCache.cs (1)
44BuildRequestData buildRequest,