1 instantiation of AssemblyLoadsTracker
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (1)
124
var tracker = new
AssemblyLoadsTracker
(loggingContext, loggingService, context, initiatorType, appDomain ?? AppDomain.CurrentDomain);
11 references to AssemblyLoadsTracker
Microsoft.Build (11)
BackEnd\Components\Logging\LoggingService.cs (1)
1781
using var assemblyLoadTracker =
AssemblyLoadsTracker
.StartTracking(this, AssemblyLoadingContext.LoggerInitialization, UnwrapLoggerType(logger).GetType());
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (3)
21
private static readonly List<
AssemblyLoadsTracker
> s_instances = new();
73
foreach (
AssemblyLoadsTracker
tracker in s_instances.Where(t => t._appDomain == appDomain))
124
var
tracker = new AssemblyLoadsTracker(loggingContext, loggingService, context, initiatorType, appDomain ?? AppDomain.CurrentDomain);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
659
using var assemblyLoadsTracker =
AssemblyLoadsTracker
.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun, _taskExecutionHost?.TaskInstance?.GetType());
Evaluation\Evaluator.cs (2)
633
AssemblyLoadsTracker
.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.Evaluation);
1803
using var assemblyLoadsTracker =
AssemblyLoadsTracker
.StartTracking(_evaluationLoggingContext, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
Instance\TaskFactories\AssemblyTaskFactory.cs (4)
214
AssemblyLoadsTracker
.StopTracking(appDomain);
276
using var assemblyLoadsTracker =
AssemblyLoadsTracker
.StartTracking(targetLoggingContext, AssemblyLoadingContext.TaskRun, assemblyName);
391
appDomain =>
AssemblyLoadsTracker
.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun, _loadedType.Type, appDomain),
407
AssemblyLoadsTracker
.StopTracking(taskAppDomain);