1 instantiation of BuildSubmission
Microsoft.Build (1)
BackEnd\BuildManager\BuildRequestData.cs (1)
185
new
BuildSubmission
(buildManager, submissionId, requestData, legacyThreadingSemantics);
61 references to BuildSubmission
Microsoft.Build (21)
BackEnd\BuildManager\BuildManager.cs (14)
869
public
BuildSubmission
PendBuildRequest(BuildRequestData requestData)
870
=> (
BuildSubmission
)PendBuildRequest<BuildRequestData, BuildResult>(requestData);
1232
private void ExecuteSubmission(
BuildSubmission
submission, bool allowMainThreadBuild)
1398
if (submission is
BuildSubmission
buildSubmission)
1650
private void CompleteSubmissionWithException(
BuildSubmission
submission, BuildRequestConfiguration configuration, Exception exception)
1758
private static void AddBuildRequestToSubmission(
BuildSubmission
submission, int configurationId, int projectContextId = BuildEventContext.InvalidProjectContextId)
1774
BuildSubmission
submission,
1794
private void IssueBuildRequestForBuildSubmission(
BuildSubmission
submission, BuildRequestConfiguration configuration, bool allowMainThreadBuild = false)
1813
void IssueBuildSubmissionToSchedulerImpl(
BuildSubmission
submission, bool allowMainThreadBuild)
2043
var
innerBuildSubmission = PendBuildRequest(request);
2285
var
submission = cacheRequest.Submission;
2432
if (_buildSubmissions.TryGetValue(result.SubmissionId, out BuildSubmissionBase? buildSubmissionBase) && buildSubmissionBase is
BuildSubmission
buildSubmission)
2510
if (submission is
BuildSubmission
buildSubmission && buildSubmission.BuildRequest != null)
2592
if (submissionBase is
BuildSubmission
submission)
BackEnd\BuildManager\BuildParameters.cs (1)
852
/// Gets or sets the project cache description to use for all <see cref="
BuildSubmission
"/> or <see cref="GraphBuildSubmission"/>
BackEnd\BuildManager\BuildSubmission.cs (2)
137
public delegate void BuildSubmissionCompleteCallback(
BuildSubmission
submission);
172
callback?.Invoke((
BuildSubmission
)submission);
BackEnd\BuildManager\BuildSubmissionBase.cs (2)
63
/// The asynchronous context provided to <see cref="
BuildSubmission
.ExecuteAsync(BuildSubmissionCompleteCallback, object)"/>, if any.
68
/// A <see cref="System.Threading.WaitHandle"/> which will be signalled when the build is complete. Valid after <see cref="BuildSubmissionBase{TRequestData,TResultData}.Execute()"/> or <see cref="
BuildSubmission
.ExecuteAsync(BuildSubmissionCompleteCallback, object)"/> returns, otherwise null.
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
29
internal record CacheRequest(
BuildSubmission
Submission, BuildRequestConfiguration Configuration);
479
void EvaluateProjectIfNecessary(
BuildSubmission
submission, BuildRequestConfiguration configuration)
Microsoft.Build.Engine.UnitTests (33)
BackEnd\BuildManager_Logging_Tests.cs (1)
124
var
submission = _buildManager.PendBuildRequest(buildRequestData);
BackEnd\BuildManager_Tests.cs (27)
1276
BuildSubmission
submission1 = _buildManager.PendBuildRequest(data);
1300
BuildSubmission
submission1 = _buildManager.PendBuildRequest(data);
1377
BuildSubmission
submission1 = _buildManager.PendBuildRequest(data);
1409
BuildSubmission
submission1 = _buildManager.PendBuildRequest(data);
1410
BuildSubmission
submission2 = _buildManager.PendBuildRequest(data2);
1460
BuildSubmission
submission1 = _buildManager.PendBuildRequest(data);
1461
BuildSubmission
submission2 = _buildManager.PendBuildRequest(data2);
1547
BuildSubmission
asyncResult = _buildManager.PendBuildRequest(data);
1590
BuildSubmission
asyncResult = _buildManager.PendBuildRequest(data);
1630
BuildSubmission
asyncResult = _buildManager.PendBuildRequest(data);
1668
BuildSubmission
asyncResult = _buildManager.PendBuildRequest(data);
1706
BuildSubmission
asyncResult = _buildManager.PendBuildRequest(data);
1743
BuildSubmission
asyncResult = _buildManager.PendBuildRequest(data);
1810
BuildSubmission
submission = _buildManager.PendBuildRequest(new BuildRequestData(instance, new[] { "target1" }));
1845
BuildSubmission
submission = _buildManager.PendBuildRequest(new BuildRequestData(instance, new[] { "target1" }));
3143
BuildSubmission
submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData);
3153
BuildSubmission
submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData);
3222
BuildSubmission
submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData);
3233
BuildSubmission
submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData);
3309
BuildSubmission
submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData);
3320
BuildSubmission
submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData);
3721
var
submission = manager.PendBuildRequest(request);
3805
var
submission = _buildManager.PendBuildRequest(buildRequestData);
3874
var
submission = _buildManager.PendBuildRequest(request);
3962
var
submission = _buildManager.PendBuildRequest(buildRequestData);
4116
var
submission1 = manager.PendBuildRequest(request1);
4117
var
submission2 = manager.PendBuildRequest(request2);
BackEnd\BuildOMCompatibility_Tests.cs (4)
46
=> VerifyPropertyExists(typeof(
BuildSubmission
), propertyName);
52
=> VerifyMethodExists(typeof(
BuildSubmission
), methodName);
62
=> VerifyPropertyExists(typeof(
BuildSubmission
), propertyName);
68
=> VerifyMethodExists(typeof(
BuildSubmission
), methodName);
BackEnd\TaskBuilder_Tests.cs (1)
181
BuildSubmission
asyncResult = manager.PendBuildRequest(data);
Microsoft.Build.Utilities.UnitTests (6)
MuxLogger_Tests.cs (6)
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)
1802
BuildSubmission
submission;