34 references to NodeId
Microsoft.Build (17)
BackEnd\Components\Logging\EvaluationLoggingContext.cs (1)
25loggingService.CreateEvaluationBuildEventContext(buildEventContext.NodeId, buildEventContext.SubmissionId))
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (4)
563if (nodeBuildEventContext.NodeId == Scheduler.InProcNodeId) 572BuildEventContext projectBuildEventContext = new BuildEventContext(submissionId, nodeBuildEventContext.NodeId, evaluationId, configurationId, projectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId); 641projectBuildEventContext.NodeId, 738targetBuildEventContext.NodeId,
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1138_nodeLoggingContext.BuildEventContext.NodeId);
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1072Write(buildEventContext.NodeId);
Logging\ParallelLogger\ParallelConsoleLogger.cs (4)
562var projectKey = (e.BuildEventContext.NodeId, e.BuildEventContext.ProjectContextId); 645=> (buildEventContext.NodeId, -buildEventContext.EvaluationId); 1016var key = (e.BuildEventContext.NodeId, e.BuildEventContext.ProjectContextId); 1528int currentProjectNodeId = (projectStartedEvent.ProjectBuildEventContext.NodeId);
Logging\ParallelLogger\ParallelLoggerHelpers.cs (6)
231return (contextX.NodeId == contextY.NodeId) 238return context.ProjectContextId + (context.NodeId << 24); 260return (contextX.NodeId == contextY.NodeId) 268return context.ProjectContextId + (context.NodeId << 24);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\LoggingContext_Tests.cs (2)
40context.BuildEventContext.NodeId.ShouldBe(1); 49context2.BuildEventContext.NodeId.ShouldBe(2);
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
872projectCacheBuildEventContext.NodeId.ShouldBe(Scheduler.InProcNodeId);
BuildEventArgsSerialization_Tests.cs (1)
1193return $"{context.BuildRequestId} {context.NodeId} {context.ProjectContextId} {context.ProjectInstanceId} {context.SubmissionId} {context.TargetId} {context.TaskId}";
Graph\IsolateProjects_Tests.cs (1)
215logger.Errors.First().BuildEventContext.NodeId.ShouldNotBe(BuildEventContext.InvalidNodeId);
Graph\ResultCacheBasedBuilds_Tests.cs (1)
400results["1"].Logger.Errors.First().BuildEventContext.NodeId.ShouldNotBe(BuildEventContext.InvalidNodeId);
Microsoft.Build.Framework (5)
BinaryTranslator.cs (1)
1158_writer.Write(value.NodeId);
BinaryWriterExtensions.cs (1)
90writer.Write(context.NodeId);
BuildEventContext.cs (2)
302return _nodeId == buildEventContext.NodeId 313return $"Node={NodeId} Submission={SubmissionId} ProjectContext={ProjectContextId} ProjectInstance={ProjectInstanceId} Eval={EvaluationId} Target={TargetId} Task={TaskId}";
ProjectStartedEventArgs.cs (1)
363writer.Write((Int32)parentProjectBuildEventContext.NodeId);
Microsoft.Build.Framework.UnitTests (2)
EventArgs_Tests.cs (2)
110startedEvent.ParentProjectBuildEventContext.NodeId.ShouldBe(0); 118startedEvent.BuildEventContext.NodeId.ShouldBe(1);
Microsoft.DotNet.ArcadeLogging (3)
PipelinesLogger.cs (3)
413x.NodeId == y.NodeId && 417public int GetHashCode(BuildEventContext x) => x.ProjectContextId + (x.NodeId << 24);
MSBuild (1)
TerminalLogger\TerminalLogger.cs (1)
1104return context.NodeId - 1;