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