1 write to CompilerContext
Microsoft.CodeAnalysis.UnitTests (1)
CompilerResolverTests.cs (1)
34
CompilerContext
= new AssemblyLoadContext(nameof(CompilerResolverTests), isCollectible: true);
3 references to CompilerContext
Microsoft.CodeAnalysis.UnitTests (3)
CompilerResolverTests.cs (3)
35
AssemblyInCompilerContext =
CompilerContext
.LoadFromAssemblyPath(typeof(AnalyzerAssemblyLoader).Assembly.Location);
37
Loader = new AnalyzerAssemblyLoader([], [AnalyzerAssemblyLoader.DiskAnalyzerAssemblyResolver],
CompilerContext
);
44
CompilerContext
.Unload();