anchor.diff:  //
   // For information about contexts, see the Assembly.LoadFrom(String) method overload.
   
  -module internal MagicAssemblyResolution =
  +type internal MagicAssemblyResolution () =
   
       // See bug 5501 for details on decision to use UnsafeLoadFrom here.
       // Summary:
       //  It is an explicit user trust decision to load an assembly with #r. Scripts are not run automatically (for example, by double-clicking in explorer).
       //  We considered setting loadFromRemoteSources in fsi.exe.config but this would transitively confer unsafe loading to the code in the referenced
       //  assemblies. Better to let those assemblies decide for themselves which is safer.
  -    let private assemblyLoadFrom (path:string) = Assembly.UnsafeLoadFrom(path)
  -
  -    let ResolveAssembly (ctok, m, tcConfigB, tcImports: TcImports, fsiDynamicCompiler: FsiDynamicCompiler, fsiConsoleOutput: FsiConsoleOutput, fullAssemName: string) =
  +    static let assemblyLoadFrom (path:string) = Assembly.UnsafeLoadFrom(path)
  +
  +    static member private ResolveAssemblyCore (ctok, m, tcConfigB, tcImports: TcImports, fsiDynamicCompiler: FsiDynamicCompiler, fsiConsoleOutput: FsiConsoleOutput, fullAssemName: string) =
   
           try
               // Grab the name of the assembly
  
positive.code:             stopProcessingRecovery e range0
              null
  
      let Install(tcConfigB, tcImports: TcImports, fsiDynamicCompiler: FsiDynamicCompiler, fsiConsoleOutput: FsiConsoleOutput) =
  
          let rangeStdin0 = rangeN stdinMockFileName 0
  
  
negative.code:             // Explanation: our understanding is that magic assembly resolution happens
              // during compilation. So we recover the CompilationThreadToken here.
              let ctok = AssumeCompilationThreadWithoutEvidence ()
              MagicAssemblyResolution.ResolveAssembly (ctok, rangeStdin0, tcConfigB, tcImports, fsiDynamicCompiler, fsiConsoleOutput, args.Name))
  
          AppDomain.CurrentDomain.add_AssemblyResolve(resolveAssembly)
  
  