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