24 references to AssemblyLoadingContext
Microsoft.Build (13)
BackEnd\Components\Logging\LoggingService.cs (1)
1801
using var assemblyLoadTracker = AssemblyLoadsTracker.StartTracking(this,
AssemblyLoadingContext
.LoggerInitialization, UnwrapLoggerType(logger).GetType());
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (6)
25
private readonly
AssemblyLoadingContext
_context;
32
AssemblyLoadingContext
context,
45
AssemblyLoadingContext
context,
52
AssemblyLoadingContext
context,
59
AssemblyLoadingContext
context,
104
AssemblyLoadingContext
context,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
655
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(taskLoggingContext,
AssemblyLoadingContext
.TaskRun, _taskExecutionHost?.TaskInstance?.GetType());
Evaluation\Evaluator.cs (2)
625
AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext,
AssemblyLoadingContext
.Evaluation);
1789
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(_evaluationLoggingContext,
AssemblyLoadingContext
.SdkResolution, _sdkResolverService.GetType());
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
276
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(targetLoggingContext,
AssemblyLoadingContext
.TaskRun, assemblyName);
Logging\BinaryLogger\BuildEventArgsReader.cs (2)
1239
AssemblyLoadingContext
context = (
AssemblyLoadingContext
)ReadInt32();
Microsoft.Build.Engine.UnitTests (5)
BackEnd\NodePackets_Tests.cs (2)
66
AssemblyLoadBuildEventArgs assemblyLoad = new(
AssemblyLoadingContext
.Evaluation, null, null, "path", Guid.NewGuid(), null);
288
new AssemblyLoadBuildEventArgs(
AssemblyLoadingContext
.Evaluation, "init", "aname", "path", Guid.NewGuid(), "domain", MessageImportance.Normal),
BuildEventArgsSerialization_Tests.cs (3)
523
AssemblyLoadingContext
context =
524
(
AssemblyLoadingContext
)(new Random().Next(Enum.GetNames(typeof(
AssemblyLoadingContext
)).Length));
Microsoft.Build.Framework (3)
AssemblyLoadBuildEventArgs.cs (3)
20
AssemblyLoadingContext
loadingContext,
37
public
AssemblyLoadingContext
LoadingContext { get; private set; }
64
LoadingContext = (
AssemblyLoadingContext
)reader.Read7BitEncodedInt();
Microsoft.Build.Framework.UnitTests (3)
AssemblyLoadBuildEventArgs_Tests.cs (3)
21
AssemblyLoadingContext
context =
22
(
AssemblyLoadingContext
)(new Random().Next(Enum.GetNames(typeof(
AssemblyLoadingContext
)).Length));