1 instantiation of BuildSubmission
Microsoft.Build (1)
BackEnd\BuildManager\BuildRequestData.cs (1)
185new BuildSubmission(buildManager, submissionId, requestData, legacyThreadingSemantics);
61 references to BuildSubmission
Microsoft.Build (21)
BackEnd\BuildManager\BuildManager.cs (14)
869public BuildSubmission PendBuildRequest(BuildRequestData requestData) 870=> (BuildSubmission)PendBuildRequest<BuildRequestData, BuildResult>(requestData); 1232private void ExecuteSubmission(BuildSubmission submission, bool allowMainThreadBuild) 1398if (submission is BuildSubmission buildSubmission) 1650private void CompleteSubmissionWithException(BuildSubmission submission, BuildRequestConfiguration configuration, Exception exception) 1758private static void AddBuildRequestToSubmission(BuildSubmission submission, int configurationId, int projectContextId = BuildEventContext.InvalidProjectContextId) 1774BuildSubmission submission, 1794private void IssueBuildRequestForBuildSubmission(BuildSubmission submission, BuildRequestConfiguration configuration, bool allowMainThreadBuild = false) 1813void IssueBuildSubmissionToSchedulerImpl(BuildSubmission submission, bool allowMainThreadBuild) 2043var innerBuildSubmission = PendBuildRequest(request); 2285var submission = cacheRequest.Submission; 2432if (_buildSubmissions.TryGetValue(result.SubmissionId, out BuildSubmissionBase? buildSubmissionBase) && buildSubmissionBase is BuildSubmission buildSubmission) 2510if (submission is BuildSubmission buildSubmission && buildSubmission.BuildRequest != null) 2592if (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)
137public delegate void BuildSubmissionCompleteCallback(BuildSubmission submission); 172callback?.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)
29internal record CacheRequest(BuildSubmission Submission, BuildRequestConfiguration Configuration); 479void EvaluateProjectIfNecessary(BuildSubmission submission, BuildRequestConfiguration configuration)
Microsoft.Build.Engine.UnitTests (33)
BackEnd\BuildManager_Logging_Tests.cs (1)
124var submission = _buildManager.PendBuildRequest(buildRequestData);
BackEnd\BuildManager_Tests.cs (27)
1276BuildSubmission submission1 = _buildManager.PendBuildRequest(data); 1300BuildSubmission submission1 = _buildManager.PendBuildRequest(data); 1377BuildSubmission submission1 = _buildManager.PendBuildRequest(data); 1409BuildSubmission submission1 = _buildManager.PendBuildRequest(data); 1410BuildSubmission submission2 = _buildManager.PendBuildRequest(data2); 1460BuildSubmission submission1 = _buildManager.PendBuildRequest(data); 1461BuildSubmission submission2 = _buildManager.PendBuildRequest(data2); 1547BuildSubmission asyncResult = _buildManager.PendBuildRequest(data); 1590BuildSubmission asyncResult = _buildManager.PendBuildRequest(data); 1630BuildSubmission asyncResult = _buildManager.PendBuildRequest(data); 1668BuildSubmission asyncResult = _buildManager.PendBuildRequest(data); 1706BuildSubmission asyncResult = _buildManager.PendBuildRequest(data); 1743BuildSubmission asyncResult = _buildManager.PendBuildRequest(data); 1810BuildSubmission submission = _buildManager.PendBuildRequest(new BuildRequestData(instance, new[] { "target1" })); 1845BuildSubmission submission = _buildManager.PendBuildRequest(new BuildRequestData(instance, new[] { "target1" })); 3143BuildSubmission submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData); 3153BuildSubmission submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData); 3222BuildSubmission submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData); 3233BuildSubmission submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData); 3309BuildSubmission submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData); 3320BuildSubmission submission = BuildManager.DefaultBuildManager.PendBuildRequest(requestData); 3721var submission = manager.PendBuildRequest(request); 3805var submission = _buildManager.PendBuildRequest(buildRequestData); 3874var submission = _buildManager.PendBuildRequest(request); 3962var submission = _buildManager.PendBuildRequest(buildRequestData); 4116var submission1 = manager.PendBuildRequest(request1); 4117var 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)
181BuildSubmission asyncResult = manager.PendBuildRequest(data);
Microsoft.Build.Utilities.UnitTests (6)
MuxLogger_Tests.cs (6)
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)
1802BuildSubmission submission;