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