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