1 instantiation of DirectoryLoadContext
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
90loadContext = new DirectoryLoadContext(fullDirectoryPath, this);
7 references to DirectoryLoadContext
Microsoft.CodeAnalysis (6)
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)
Microsoft.CodeAnalysis.UnitTests (1)
InvokeUtil.cs (1)
103foreach (var context in loader.GetDirectoryLoadContextsSnapshot())