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