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