22 references to EvaluationId
Microsoft.Build (19)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (12)
447if (_deferredProjectEvalIdToImportedProjects.TryGetValue(checkContext.BuildEventContext.EvaluationId, out HashSet<string>? importedProjects)) 486PropagateImport(checkContext.BuildEventContext.EvaluationId, projectImportedEventArgs.ProjectFile, projectImportedEventArgs.ImportedProjectFile); 560if (buildEventContext.EvaluationId >= 0) 562if (_projectsByEvaluationId.TryGetValue(buildEventContext.EvaluationId, out string? val)) 623_projectsByEvaluationId[checkContext.BuildEventContext.EvaluationId] = projectFullPath; 626!_deferredProjectEvalIdToImportedProjects.ContainsKey(checkContext.BuildEventContext.EvaluationId)) 628_deferredProjectEvalIdToImportedProjects.Add(checkContext.BuildEventContext.EvaluationId, 650if (_deferredEvalDiagnostics.TryGetValue(buildEventContext.EvaluationId, out var list)) 658_deferredEvalDiagnostics.Remove(buildEventContext.EvaluationId); 687eventArgs.BuildEventContext.EvaluationId == BuildEventContext.InvalidEvaluationId || 699if (!_deferredEvalDiagnostics.TryGetValue(eventArgs.BuildEventContext.EvaluationId, out var list)) 702_deferredEvalDiagnostics[eventArgs.BuildEventContext.EvaluationId] = list;
Definition\Project.cs (2)
856/// This number corresponds to the <see cref="BuildEventContext.EvaluationId"/> and can be used to connect 2522/// This number corresponds to the <see cref="BuildEventContext.EvaluationId"/> and can be used to connect
Evaluation\Evaluator.cs (2)
250IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.EvaluationId); 649_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.EvaluationId;
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1184Write(buildEventContext.EvaluationId);
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
663=> (buildEventContext.NodeId, -buildEventContext.EvaluationId);
Logging\TerminalLogger\TerminalLogger.cs (1)
63: this(context.EvaluationId)
Microsoft.Build.Framework (3)
BinaryTranslator.cs (1)
1304_writer.Write(value.EvaluationId);
BinaryWriterExtensions.cs (1)
91writer.Write(context.EvaluationId);
BuildEventContext.cs (1)
313return $"Node={NodeId} Submission={SubmissionId} ProjectContext={ProjectContextId} ProjectInstance={ProjectInstanceId} Eval={EvaluationId} Target={TargetId} Task={TaskId}";