46 references to BuildEventContext
Microsoft.Build (7)
BackEnd\BuildManager\BuildManager.cs (2)
1914new BuildEventContext( 2438: 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); 423return new BuildEventContext(submissionId, nodeId, evaluationId, projectInstanceId, projectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId); 572BuildEventContext projectBuildEventContext = new BuildEventContext(submissionId, nodeBuildEventContext.NodeId, evaluationId, configurationId, projectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
485new BuildEventContext(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
1471var 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)
123return new BuildEventContext(1, 2, 3, 4, 5, 6, 7); 294BuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6, 7) 300BuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6, 7) 306BuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6, 7) 312BuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6, 7) 318BuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6, 7)
BackEnd\TargetResult_Tests.cs (1)
93var buildEventContext = new Framework.BuildEventContext(1, 2, 3, 4, 5, 6, 7);
BuildEventArgsSerialization_Tests.cs (6)
346BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 419BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 495BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 583BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 678BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 854OriginalBuildEventContext = new BuildEventContext(1, 2, 3, 4, 5, 6, 7),
Microsoft.Build.Framework (7)
BinaryReaderExtensions.cs (1)
91var buildEventContext = new BuildEventContext(submissionId, nodeId, evaluationId, projectInstanceId, projectContextId, targetId, taskId);
BinaryTranslator.cs (1)
425value = new BuildEventContext(
BuildEventArgs.cs (1)
244buildEventContext = 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) 120return new BuildEventContext(_submissionId, _nodeId, _evaluationId, projectInstanceId, projectContextId,
Microsoft.Build.Framework.UnitTests (16)
EventArgs_Tests.cs (11)
62BuildEventContext parentBuildEventContext = new BuildEventContext(0, 0, 0, 0, 0, 0, 0); 64BuildEventContext currentBuildEventContext = new BuildEventContext(0, 1, 2, 3, 4, 5, 6); 66BuildEventContext currentBuildEventContextSubmission = new BuildEventContext(1, 0, 0, 0, 0, 0, 0); 67BuildEventContext currentBuildEventContextNode = new BuildEventContext(0, 1, 0, 0, 0, 0, 0); 68BuildEventContext currentBuildEventContextEvaluation = new BuildEventContext(0, 0, 1, 0, 0, 0, 0); 69BuildEventContext currentBuildEventContextProjectInstance = new BuildEventContext(0, 0, 0, 1, 0, 0, 0); 70BuildEventContext currentBuildEventProjectContext = new BuildEventContext(0, 0, 0, 0, 1, 0, 0); 71BuildEventContext currentBuildEventContextTarget = new BuildEventContext(0, 0, 0, 0, 0, 1, 0); 72BuildEventContext currentBuildEventContextTask = new BuildEventContext(0, 0, 0, 0, 0, 0, 1); 73BuildEventContext allDifferent = new BuildEventContext(1, 1, 1, 1, 1, 1, 1); 74BuildEventContext allSame = new BuildEventContext(0, 0, 0, 0, 0, 0, 0);
ExtendedBuildEventArgs_Tests.cs (5)
29BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 67BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 106BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 144BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null, 181BuildEventContext = withOptionalData ? new BuildEventContext(1, 2, 3, 4, 5, 6, 7) : null,