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