1 write to _compilerLoadContext
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
56
_compilerLoadContext
= compilerLoadContext ?? AssemblyLoadContext.GetLoadContext(typeof(AnalyzerAssemblyLoader).GetTypeInfo().Assembly)!;
3 references to _compilerLoadContext
Microsoft.CodeAnalysis.Workspaces (3)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (3)
45
internal AssemblyLoadContext CompilerLoadContext =>
_compilerLoadContext
;
57
_externalResolvers = [.. externalResolvers, new CompilerAnalyzerAssemblyResolver(
_compilerLoadContext
)];
65
return alc ==
_compilerLoadContext
|| alc == AssemblyLoadContext.Default;