46 references to BuildEventContext
Microsoft.Build (7)
BackEnd\BuildManager\BuildManager.cs (2)
1951
new
BuildEventContext
(
2480
: new
BuildEventContext
(result.SubmissionId, node, configuration.Project?.EvaluationId ?? BuildEventContext.InvalidEvaluationId, configuration.ConfigurationId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (3)
405
=> new
BuildEventContext
(submissionId, nodeId, NextEvaluationId, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
423
return new
BuildEventContext
(submissionId, nodeId, evaluationId, projectInstanceId, projectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
572
BuildEventContext projectBuildEventContext = new
BuildEventContext
(submissionId, nodeBuildEventContext.NodeId, evaluationId, configurationId, projectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
489
new
BuildEventContext
(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
1478
var result = new
BuildEventContext
(
Microsoft.Build.BuildCheck.UnitTests (1)
BuildCheckManagerProviderTests.cs (1)
45
_testedInstance.ProcessCheckAcquisition(new CheckAcquisitionData("DummyPath", "ProjectPath"), new CheckLoggingContext(_loggingService, new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7)));
Microsoft.Build.Engine.UnitTests (15)
BackEnd\MockLoggingService.cs (2)
511
=> new
BuildEventContext
(0, 0, 0, 0, 0, 0, 0);
515
=> new
BuildEventContext
(0, 0, 0, 0, 0, 0, 0);
BackEnd\NodePackets_Tests.cs (6)
126
return new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7);
297
BuildEventContext = new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7)
303
BuildEventContext = new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7)
309
BuildEventContext = new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7)
315
BuildEventContext = new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7)
321
BuildEventContext = new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7)
BackEnd\TargetResult_Tests.cs (1)
93
var buildEventContext = new Framework.
BuildEventContext
(1, 2, 3, 4, 5, 6, 7);
BuildEventArgsSerialization_Tests.cs (6)
346
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
419
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
495
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
583
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
678
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
854
OriginalBuildEventContext = new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7),
Microsoft.Build.Framework (7)
BinaryReaderExtensions.cs (1)
91
var buildEventContext = new
BuildEventContext
(submissionId, nodeId, evaluationId, projectInstanceId, projectContextId, targetId, taskId);
BinaryTranslator.cs (1)
418
value = new
BuildEventContext
(
BuildEventArgs.cs (1)
244
buildEventContext = new
BuildEventContext
(submissionId, nodeId, evaluationId, projectInstanceId, projectContextId, targetId, taskId);
BuildEventContext.cs (4)
64
:
this
(InvalidSubmissionId, nodeId, InvalidEvaluationId, InvalidProjectInstanceId, projectContextId, targetId, taskId)
78
:
this
(InvalidSubmissionId, nodeId, InvalidEvaluationId, projectInstanceId, projectContextId, targetId, taskId)
92
:
this
(submissionId, nodeId, InvalidEvaluationId, projectInstanceId, projectContextId, targetId, taskId)
120
return new
BuildEventContext
(_submissionId, _nodeId, _evaluationId, projectInstanceId, projectContextId,
Microsoft.Build.Framework.UnitTests (16)
EventArgs_Tests.cs (11)
60
BuildEventContext parentBuildEventContext = new
BuildEventContext
(0, 0, 0, 0, 0, 0, 0);
62
BuildEventContext currentBuildEventContext = new
BuildEventContext
(0, 1, 2, 3, 4, 5, 6);
64
BuildEventContext currentBuildEventContextSubmission = new
BuildEventContext
(1, 0, 0, 0, 0, 0, 0);
65
BuildEventContext currentBuildEventContextNode = new
BuildEventContext
(0, 1, 0, 0, 0, 0, 0);
66
BuildEventContext currentBuildEventContextEvaluation = new
BuildEventContext
(0, 0, 1, 0, 0, 0, 0);
67
BuildEventContext currentBuildEventContextProjectInstance = new
BuildEventContext
(0, 0, 0, 1, 0, 0, 0);
68
BuildEventContext currentBuildEventProjectContext = new
BuildEventContext
(0, 0, 0, 0, 1, 0, 0);
69
BuildEventContext currentBuildEventContextTarget = new
BuildEventContext
(0, 0, 0, 0, 0, 1, 0);
70
BuildEventContext currentBuildEventContextTask = new
BuildEventContext
(0, 0, 0, 0, 0, 0, 1);
71
BuildEventContext allDifferent = new
BuildEventContext
(1, 1, 1, 1, 1, 1, 1);
72
BuildEventContext allSame = new
BuildEventContext
(0, 0, 0, 0, 0, 0, 0);
ExtendedBuildEventArgs_Tests.cs (5)
29
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
67
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
106
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
144
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,
181
BuildEventContext = withOptionalData ? new
BuildEventContext
(1, 2, 3, 4, 5, 6, 7) : null,