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