25 references to EvaluationId
Microsoft.Build (20)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (12)
453if (_deferredProjectEvalIdToImportedProjects.TryGetValue(checkContext.BuildEventContext.EvaluationId, out HashSet<string>? importedProjects)) 492PropagateImport(checkContext.BuildEventContext.EvaluationId, projectImportedEventArgs.ProjectFile, projectImportedEventArgs.ImportedProjectFile); 566if (buildEventContext.EvaluationId >= 0) 568if (_projectsByEvaluationId.TryGetValue(buildEventContext.EvaluationId, out string? val)) 629_projectsByEvaluationId[checkContext.BuildEventContext.EvaluationId] = projectFullPath; 632!_deferredProjectEvalIdToImportedProjects.ContainsKey(checkContext.BuildEventContext.EvaluationId)) 634_deferredProjectEvalIdToImportedProjects.Add(checkContext.BuildEventContext.EvaluationId, 656if (_deferredEvalDiagnostics.TryGetValue(buildEventContext.EvaluationId, out var list)) 664_deferredEvalDiagnostics.Remove(buildEventContext.EvaluationId); 693eventArgs.BuildEventContext.EvaluationId == BuildEventContext.InvalidEvaluationId || 705if (!_deferredEvalDiagnostics.TryGetValue(eventArgs.BuildEventContext.EvaluationId, out var list)) 708_deferredEvalDiagnostics[eventArgs.BuildEventContext.EvaluationId] = list;
Definition\Project.cs (2)
845/// This number corresponds to the <see cref="BuildEventContext.EvaluationId"/> and can be used to connect 2511/// This number corresponds to the <see cref="BuildEventContext.EvaluationId"/> and can be used to connect
Evaluation\Evaluator.cs (3)
264IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.EvaluationId); 367evaluationId = evaluationLoggingContext.BuildEventContext.EvaluationId; 713_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.EvaluationId;
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1433Write(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}";
Microsoft.NET.ProjectData.Tasks (2)
ProjectDataBuildCompletionLogger.cs (2)
526 EvaluationId = context.EvaluationId, 533 : $"{context.NodeId}:{context.ProjectContextId}:{context.ProjectInstanceId}:{context.SubmissionId}:{context.EvaluationId}:{context.BuildRequestId}";