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