21 references to ParentProjectBuildEventContext
Microsoft.Build (4)
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
411
if (e.
ParentProjectBuildEventContext
== null)
418
Write(e.
ParentProjectBuildEventContext
);
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
515
ErrorUtilities.VerifyThrowArgumentNull(e.
ParentProjectBuildEventContext
, "ParentProjectBuildEventContext");
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
44
ProjectStartedEventMinimumFields parentEvent = GetProjectStartedEvent(e.
ParentProjectBuildEventContext
);
Microsoft.Build.Engine.UnitTests (1)
BuildEventArgsSerialization_Tests.cs (1)
172
e => ToString(e.
ParentProjectBuildEventContext
),
Microsoft.Build.Framework.UnitTests (9)
CustomEventArgSerialization_Tests.cs (2)
710
newGenericEvent.
ParentProjectBuildEventContext
.ShouldBe(genericEvent.
ParentProjectBuildEventContext
); // "Expected ParentEvent Contexts to match"
EventArgs_Tests.cs (7)
109
startedEvent.
ParentProjectBuildEventContext
.SubmissionId.ShouldBe(0);
110
startedEvent.
ParentProjectBuildEventContext
.NodeId.ShouldBe(0);
111
startedEvent.
ParentProjectBuildEventContext
.EvaluationId.ShouldBe(0);
112
startedEvent.
ParentProjectBuildEventContext
.ProjectInstanceId.ShouldBe(0);
113
startedEvent.
ParentProjectBuildEventContext
.ProjectContextId.ShouldBe(0);
114
startedEvent.
ParentProjectBuildEventContext
.TargetId.ShouldBe(0);
115
startedEvent.
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)
250
var parentId = _buildEventContextMap.TryGetValue(e.
ParentProjectBuildEventContext
, out var guid)
XmlFileLogger (2)
ObjectModel\Build.cs (2)
187
if (projectStartedEventArgs.
ParentProjectBuildEventContext
?.ProjectContextId >= 0)
189
parent = GetOrAddProject(projectStartedEventArgs.
ParentProjectBuildEventContext
.ProjectContextId);