1 write to CompilerLoadContext
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
63
CompilerLoadContext
= compilerLoadContext ?? AssemblyLoadContext.GetLoadContext(typeof(SyntaxTree).GetTypeInfo().Assembly)!;
4 references to CompilerLoadContext
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (2)
64
CompilerAnalyzerAssemblyResolver = new CompilerResolver(
CompilerLoadContext
);
78
return alc ==
CompilerLoadContext
|| alc == AssemblyLoadContext.Default;
Microsoft.CodeAnalysis.UnitTests (2)
InvokeUtil.cs (2)
66
var compilerContextAssemblies = loader.
CompilerLoadContext
.Assemblies.SelectAsArray(a => a.FullName);
75
AssertEx.SetEqual(compilerContextAssemblies, loader.
CompilerLoadContext
.Assemblies.SelectAsArray(a => a.FullName));