21 references to ParentProjectBuildEventContext
Microsoft.Build (4)
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
390if (e.ParentProjectBuildEventContext == null) 397Write(e.ParentProjectBuildEventContext);
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
515ErrorUtilities.VerifyThrowArgumentNull(e.ParentProjectBuildEventContext, "ParentProjectBuildEventContext");
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
44ProjectStartedEventMinimumFields parentEvent = GetProjectStartedEvent(e.ParentProjectBuildEventContext);
Microsoft.Build.Engine.UnitTests (1)
BuildEventArgsSerialization_Tests.cs (1)
172e => ToString(e.ParentProjectBuildEventContext),
Microsoft.Build.Framework.UnitTests (9)
CustomEventArgSerialization_Tests.cs (2)
710newGenericEvent.ParentProjectBuildEventContext.ShouldBe(genericEvent.ParentProjectBuildEventContext); // "Expected ParentEvent Contexts to match"
EventArgs_Tests.cs (7)
109startedEvent.ParentProjectBuildEventContext.SubmissionId.ShouldBe(0); 110startedEvent.ParentProjectBuildEventContext.NodeId.ShouldBe(0); 111startedEvent.ParentProjectBuildEventContext.EvaluationId.ShouldBe(0); 112startedEvent.ParentProjectBuildEventContext.ProjectInstanceId.ShouldBe(0); 113startedEvent.ParentProjectBuildEventContext.ProjectContextId.ShouldBe(0); 114startedEvent.ParentProjectBuildEventContext.TargetId.ShouldBe(0); 115startedEvent.ParentProjectBuildEventContext.TaskId.ShouldBe(0);
Microsoft.Build.Tasks.UnitTests (4)
MSBuild_Tests.cs (4)
1480.Where(p => p.ParentProjectBuildEventContext?.TaskId > 0) 1482.ParentProjectBuildEventContext.TaskId; 1516.Where(p => p.ParentProjectBuildEventContext?.TaskId > 0) 1518.ParentProjectBuildEventContext.TaskId;
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
250var parentId = _buildEventContextMap.TryGetValue(e.ParentProjectBuildEventContext, out var guid)
XmlFileLogger (2)
ObjectModel\Build.cs (2)
187if (projectStartedEventArgs.ParentProjectBuildEventContext?.ProjectContextId >= 0) 189parent = GetOrAddProject(projectStartedEventArgs.ParentProjectBuildEventContext.ProjectContextId);