38 references to SubmissionId
Microsoft.Build (10)
BackEnd\BuildManager\BuildManager.cs (5)
2847if (_projectStartedEvents.TryGetValue(e.BuildEventContext!.SubmissionId, out var originalArgs)) 2851_projectStartedEvents.Remove(e.BuildEventContext.SubmissionId); 2852if (_buildSubmissions.TryGetValue(e.BuildEventContext.SubmissionId, out var submission)) 2872if (!_projectStartedEvents.ContainsKey(e.BuildEventContext!.SubmissionId)) 2874_projectStartedEvents[e.BuildEventContext.SubmissionId] = e;
BackEnd\Components\Logging\EvaluationLoggingContext.cs (1)
25loggingService.CreateEvaluationBuildEventContext(buildEventContext.NodeId, buildEventContext.SubmissionId))
BackEnd\Components\Logging\LoggingService.cs (1)
1656int submissionId = errorEvent.BuildEventContext?.SubmissionId ?? BuildEventContext.InvalidSubmissionId;
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
640projectBuildEventContext.SubmissionId, 737targetBuildEventContext.SubmissionId,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1076Write(buildEventContext.SubmissionId);
Microsoft.Build.Engine.UnitTests (1)
BuildEventArgsSerialization_Tests.cs (1)
1193return $"{context.BuildRequestId} {context.NodeId} {context.ProjectContextId} {context.ProjectInstanceId} {context.SubmissionId} {context.TargetId} {context.TaskId}";
Microsoft.Build.Framework (4)
BinaryTranslator.cs (1)
1157_writer.Write(value.SubmissionId);
BinaryWriterExtensions.cs (1)
94writer.Write(context.SubmissionId);
BuildEventContext.cs (1)
313return $"Node={NodeId} Submission={SubmissionId} ProjectContext={ProjectContextId} ProjectInstance={ProjectInstanceId} Eval={EvaluationId} Target={TargetId} Task={TaskId}";
ProjectStartedEventArgs.cs (1)
367writer.Write((Int32)parentProjectBuildEventContext.SubmissionId);
Microsoft.Build.Framework.UnitTests (2)
EventArgs_Tests.cs (2)
109startedEvent.ParentProjectBuildEventContext.SubmissionId.ShouldBe(0); 117startedEvent.BuildEventContext.SubmissionId.ShouldBe(0);
Microsoft.Build.Utilities.Core (21)
MuxLogger.cs (21)
307_submissionProjectsInProgress.TryGetValue(e.BuildEventContext.SubmissionId, out int value); 308_submissionProjectsInProgress[e.BuildEventContext.SubmissionId] = value + 1; 316int value = _submissionProjectsInProgress[e.BuildEventContext.SubmissionId]; 320_submissionProjectsInProgress.Remove(e.BuildEventContext.SubmissionId); 323_submissionRecords.Remove(e.BuildEventContext.SubmissionId); 328_submissionProjectsInProgress[e.BuildEventContext.SubmissionId] = value - 1; 633if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 677buildEvent.BuildEventContext.SubmissionId != _submissionId && /* The build submission does not match the submissionId for this logger */ 678buildEvent.BuildEventContext.SubmissionId != BuildEventContext.InvalidSubmissionId)) 720buildEvent.BuildEventContext.SubmissionId != _submissionId && /* The build submission does not match the submissionId for this logger */ 721buildEvent.BuildEventContext.SubmissionId != BuildEventContext.InvalidSubmissionId)) 850if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 906if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 948if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 990if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 1032if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 1074if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 1116if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 1163if (buildEvent.BuildEventContext != null && buildEvent.BuildEventContext.SubmissionId != _submissionId) 1214buildEvent.BuildEventContext.SubmissionId != _submissionId && /* The build submission does not match the submissionId for this logger */ 1216buildEvent.BuildEventContext.SubmissionId == BuildEventContext.InvalidSubmissionId && eventIsErrorOrWarning)))