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