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