1 write to ScratchContext
Microsoft.CodeAnalysis.UnitTests (1)
CompilerResolverTests.cs (1)
36ScratchContext = new AssemblyLoadContext("Scratch", isCollectible: true);
3 references to ScratchContext
Microsoft.CodeAnalysis.UnitTests (3)
CompilerResolverTests.cs (3)
45ScratchContext.Unload(); 53var assembly = Loader.CompilerAnalyzerAssemblyResolver.Resolve(Loader, name, ScratchContext, TempRoot.CreateDirectory().Path); 60var assembly = Loader.CompilerAnalyzerAssemblyResolver.Resolve(Loader, AssemblyInCompilerContext.GetName(), ScratchContext, TempRoot.CreateDirectory().Path);