12 references to AssemblyLoadContext
Microsoft.CodeAnalysis.ExternalAccess.Razor.UnitTests (2)
RazorAnalyzerAssemblyResolverTests.cs (2)
74var compilerLoadContext = new AssemblyLoadContext("Compiler", isCollectible: true); 75var currentLoadContext = new AssemblyLoadContext("Current", isCollectible: true);
Microsoft.CodeAnalysis.LanguageServer (1)
Services\ExtensionAssemblyManager.cs (1)
204public ExtensionAssemblyLoadContext(string extensionDirectory, ILoggerFactory loggerFactory) : base(extensionDirectory)
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\CoreClr\AssemblyLoadContextUtils.cs (1)
25: base(name, isCollectible: false)
Microsoft.CodeAnalysis.UnitTests (5)
AnalyzerAssemblyLoaderTests.cs (3)
1656var alc = new AssemblyLoadContext(nameof(AssemblyResolver_FirstOneWins), isCollectible: true); 1762var alc = new AssemblyLoadContext(nameof(AssemblyResolver_FirstOneWins), isCollectible: true); 1787var alc = new AssemblyLoadContext(nameof(AssemblyResolver_FirstOneWins), isCollectible: true);
CompilerResolverTests.cs (2)
29CompilerContext = new AssemblyLoadContext(nameof(CompilerResolverTests), isCollectible: true); 31ScratchContext = new AssemblyLoadContext("Scratch", isCollectible: true);
MSBuild (1)
MSBuildLoadContext.cs (1)
33: base($"MSBuild plugin {assemblyPath}")
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\IsolatedComponentLoadContext.cs (1)
27public IsolatedComponentLoadContext(string componentAssemblyPath) : base($"IsolatedComponentLoadContext({componentAssemblyPath})")
System.Windows.Forms.Design.Tests (1)
System\Resources\Tools\CodeDomCompileHelper.cs (1)
65AssemblyLoadContext context = new(name: null, isCollectible: true);