1 instantiation of DirectoryLoadContext
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
78loadContext = new DirectoryLoadContext(fullDirectoryPath, this);
7 references to DirectoryLoadContext
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (6)
42private readonly Dictionary<string, DirectoryLoadContext> _loadContextByDirectory = new Dictionary<string, DirectoryLoadContext>(StringComparer.Ordinal); 70DirectoryLoadContext? loadContext; 89internal DirectoryLoadContext[] GetDirectoryLoadContextsSnapshot() 101var contexts = ArrayBuilder<DirectoryLoadContext>.GetInstance(); 110foreach (var context in contexts)
Microsoft.CodeAnalysis.UnitTests (1)
InvokeUtil.cs (1)
65foreach (var context in loader.GetDirectoryLoadContextsSnapshot())