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)
45internal AssemblyLoadContext CompilerLoadContext => _compilerLoadContext; 57_externalResolvers = [.. externalResolvers, new CompilerAnalyzerAssemblyResolver(_compilerLoadContext)]; 65return alc == _compilerLoadContext || alc == AssemblyLoadContext.Default;