22 references to EvaluationId
Microsoft.Build (19)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (12)
447
if (_deferredProjectEvalIdToImportedProjects.TryGetValue(checkContext.BuildEventContext.
EvaluationId
, out HashSet<string>? importedProjects))
486
PropagateImport(checkContext.BuildEventContext.
EvaluationId
, projectImportedEventArgs.ProjectFile, projectImportedEventArgs.ImportedProjectFile);
560
if (buildEventContext.
EvaluationId
>= 0)
562
if (_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
,
650
if (_deferredEvalDiagnostics.TryGetValue(buildEventContext.
EvaluationId
, out var list))
658
_deferredEvalDiagnostics.Remove(buildEventContext.
EvaluationId
);
687
eventArgs.BuildEventContext.
EvaluationId
== BuildEventContext.InvalidEvaluationId ||
699
if (!_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)
250
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(_evaluationLoggingContext.BuildEventContext.
EvaluationId
);
649
_data.EvaluationId = _evaluationLoggingContext.BuildEventContext.
EvaluationId
;
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1184
Write(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)
91
writer.Write(context.
EvaluationId
);
BuildEventContext.cs (1)
313
return $"Node={NodeId} Submission={SubmissionId} ProjectContext={ProjectContextId} ProjectInstance={ProjectInstanceId} Eval={
EvaluationId
} Target={TargetId} Task={TaskId}";