7 references to InvalidNodeId
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
2477BuildEventContext buildEventContext = new BuildEventContext(submission.SubmissionId, BuildEventContext.InvalidNodeId, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
26ErrorUtilities.VerifyThrow(nodeId != BuildEventContext.InvalidNodeId, "Should not ever be given an invalid NodeId");
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
185BuildEventContext.InvalidNodeId,
Microsoft.Build.Engine.UnitTests (3)
ConsoleLogger_Tests.cs (1)
2135ProjectStartedEventArgs project1Started = new ProjectStartedEventArgs(1, null, null, "p", "t", null, null, new BuildEventContext(BuildEventContext.InvalidNodeId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTaskId));
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 (1)
BuildEventContext.cs (1)
134public static BuildEventContext Invalid { get; } = new BuildEventContext(InvalidNodeId, InvalidTargetId, InvalidProjectContextId, InvalidTaskId);