25 references to EvaluationId
Microsoft.Build (20)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (12)
448if (_deferredProjectEvalIdToImportedProjects.TryGetValue(checkContext.BuildEventContext.EvaluationId, out HashSet<string>? importedProjects)) 487PropagateImport(checkContext.BuildEventContext.EvaluationId, projectImportedEventArgs.ProjectFile, projectImportedEventArgs.ImportedProjectFile); 561if (buildEventContext.EvaluationId >= 0) 563if (_projectsByEvaluationId.TryGetValue(buildEventContext.EvaluationId, out string? val)) 624_projectsByEvaluationId[checkContext.BuildEventContext.EvaluationId] = projectFullPath; 627!_deferredProjectEvalIdToImportedProjects.ContainsKey(checkContext.BuildEventContext.EvaluationId)) 629_deferredProjectEvalIdToImportedProjects.Add(checkContext.BuildEventContext.EvaluationId, 651if (_deferredEvalDiagnostics.TryGetValue(buildEventContext.EvaluationId, out var list)) 659_deferredEvalDiagnostics.Remove(buildEventContext.EvaluationId); 688eventArgs.BuildEventContext.EvaluationId == BuildEventContext.InvalidEvaluationId || 700if (!_deferredEvalDiagnostics.TryGetValue(eventArgs.BuildEventContext.EvaluationId, out var list)) 703_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)
1430Write(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}";