1 instantiation of DirectoryLoadContext
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
91loadContext = new DirectoryLoadContext(fullDirectoryPath, this);
6 references to DirectoryLoadContext
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (6)
29private readonly Dictionary<string, DirectoryLoadContext> _loadContextByDirectory = new Dictionary<string, DirectoryLoadContext>(GeneratedPathComparer); 83DirectoryLoadContext? loadContext; 156internal DirectoryLoadContext[] GetDirectoryLoadContextsSnapshot() 168var contexts = ArrayBuilder<DirectoryLoadContext>.GetInstance(); 177foreach (var context in contexts)