30 references to InvalidEvaluationId
Microsoft.Build (21)
BackEnd\BuildManager\BuildManager.cs (2)
1927BuildEventContext.InvalidEvaluationId, 2453: new BuildEventContext(result.SubmissionId, node, configuration.Project?.EvaluationId ?? BuildEventContext.InvalidEvaluationId, configuration.ConfigurationId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\Components\Logging\ILoggingService.cs (2)
555int evaluationId = BuildEventContext.InvalidEvaluationId, 569int evaluationId = BuildEventContext.InvalidEvaluationId,
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
498int evaluationId = BuildEventContext.InvalidEvaluationId, 531int evaluationId = BuildEventContext.InvalidEvaluationId,
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
85int evaluationId = (configuration != null && !configuration.IsCached && configuration.Project != null) ? configuration.Project.EvaluationId : BuildEventContext.InvalidEvaluationId;
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
57int evaluationId = BuildEventContext.InvalidEvaluationId)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
488BuildEventContext.InvalidEvaluationId,
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
647eventArgs.BuildEventContext.EvaluationId == BuildEventContext.InvalidEvaluationId ||
Definition\Project.cs (5)
3735ErrorUtilities.VerifyThrow(LastEvaluationId != BuildEventContext.InvalidEvaluationId, "Evaluation should produce an evaluation ID"); 3803ErrorUtilities.VerifyThrow(LastEvaluationId == BuildEventContext.InvalidEvaluationId, "This is the first evaluation therefore the last evaluation id is invalid"); 3807ErrorUtilities.VerifyThrow(LastEvaluationId != BuildEventContext.InvalidEvaluationId, "Last evaluation ID must be valid after the first evaluation"); 4158public int EvaluationId { get; set; } = BuildEventContext.InvalidEvaluationId; 4281EvaluationId = BuildEventContext.InvalidEvaluationId;
Evaluation\Evaluator.cs (2)
619ErrorUtilities.VerifyThrow(_data.EvaluationId == BuildEventContext.InvalidEvaluationId, "There is no prior evaluation ID. The evaluator data needs to be reset at this point"); 647ErrorUtilities.VerifyThrow(_data.EvaluationId != BuildEventContext.InvalidEvaluationId, "Evaluation should produce an evaluation ID");
Instance\ProjectInstance.cs (3)
188private int _evaluationId = BuildEventContext.InvalidEvaluationId; 3167ErrorUtilities.VerifyThrow(EvaluationId == BuildEventContext.InvalidEvaluationId, "Evaluation ID is invalid prior to evaluation"); 3189ErrorUtilities.VerifyThrow(EvaluationId != BuildEventContext.InvalidEvaluationId, "Evaluation should produce an evaluation ID");
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
1465int evaluationId = BuildEventContext.InvalidEvaluationId;
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
3869initialEvaluationId.ShouldNotBe(BuildEventContext.InvalidEvaluationId);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockLoggingService.cs (2)
547int evaluationId = BuildEventContext.InvalidEvaluationId, 565int evaluationId = BuildEventContext.InvalidEvaluationId,
Evaluation\EvaluationLogging_Tests.cs (2)
114evaluationId.ShouldNotBe(BuildEventContext.InvalidEvaluationId); 151eventEvaluationId.ShouldNotBe(BuildEventContext.InvalidEvaluationId);
Instance\ProjectInstance_Internal_Tests.cs (1)
772projectInstance.EvaluationId.ShouldNotBe(BuildEventContext.InvalidEvaluationId);
Microsoft.Build.Framework (3)
BuildEventContext.cs (3)
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)