4 instantiations of InteractiveAssemblyLoader
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
InteractiveSessionReferencesTests.cs (2)
534var loader = new InteractiveAssemblyLoader(); 576using (var loader = new InteractiveAssemblyLoader())
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
169var assemblyLoader = new InteractiveAssemblyLoader(metadataFileProvider);
Microsoft.CodeAnalysis.Scripting (1)
Script.cs (1)
57return new Script<T>(compiler, new ScriptBuilder(assemblyLoaderOpt ?? new InteractiveAssemblyLoader()), sourceText, optionsOpt ?? ScriptOptions.Default, globalsTypeOpt, previousOpt: null);
23 references to InteractiveAssemblyLoader
Microsoft.CodeAnalysis.CSharp.Scripting (5)
CSharpScript.cs (4)
33public static Script<T> Create<T>(string code, ScriptOptions options = null, Type globalsType = null, InteractiveAssemblyLoader assemblyLoader = null) 50public static Script<T> Create<T>(Stream code, ScriptOptions options = null, Type globalsType = null, InteractiveAssemblyLoader assemblyLoader = null) 65public static Script<object> Create(string code, ScriptOptions options = null, Type globalsType = null, InteractiveAssemblyLoader assemblyLoader = null) 81public static Script<object> Create(Stream code, ScriptOptions options = null, Type globalsType = null, InteractiveAssemblyLoader assemblyLoader = null)
Hosting\CSharpReplServiceProvider.cs (1)
27public override Script<T> CreateScript<T>(string code, ScriptOptions options, Type globalsTypeOpt, InteractiveAssemblyLoader assemblyLoader)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
InteractiveSessionReferencesTests.cs (2)
534var loader = new InteractiveAssemblyLoader(); 576using (var loader = new InteractiveAssemblyLoader())
Microsoft.CodeAnalysis.InteractiveHost (3)
Interactive\Core\InteractiveHost.Service.cs (3)
48public readonly InteractiveAssemblyLoader AssemblyLoader; 53public ServiceState(InteractiveAssemblyLoader assemblyLoader, MetadataShadowCopyProvider metadataFileProvider, ReplServiceProvider replServiceProvider, InteractiveScriptGlobals globals) 169var assemblyLoader = new InteractiveAssemblyLoader(metadataFileProvider);
Microsoft.CodeAnalysis.Scripting (10)
Hosting\AssemblyLoader\AssemblyLoaderImpl.cs (3)
11internal abstract class AssemblyLoaderImpl(InteractiveAssemblyLoader loader) : IDisposable 13internal readonly InteractiveAssemblyLoader Loader = loader; 15public static AssemblyLoaderImpl Create(InteractiveAssemblyLoader loader)
Hosting\AssemblyLoader\CoreAssemblyLoaderImpl.cs (3)
17internal CoreAssemblyLoaderImpl(InteractiveAssemblyLoader loader) 46private readonly InteractiveAssemblyLoader _loader; 48internal LoadContext(InteractiveAssemblyLoader loader, string? loadDirectory)
Hosting\ReplServiceProvider.cs (1)
21public abstract Script<T> CreateScript<T>(string code, ScriptOptions options, Type globalsTypeOpt, InteractiveAssemblyLoader assemblyLoader);
Script.cs (1)
55internal static Script<T> CreateInitialScript<T>(ScriptCompiler compiler, SourceText sourceText, ScriptOptions optionsOpt, Type globalsTypeOpt, InteractiveAssemblyLoader assemblyLoaderOpt)
ScriptBuilder.cs (2)
49private readonly InteractiveAssemblyLoader _assemblyLoader; 60public ScriptBuilder(InteractiveAssemblyLoader assemblyLoader)
Microsoft.CodeAnalysis.VisualBasic.Scripting (3)
Hosting\VisualBasicReplServiceProvider.vb (1)
38Public Overrides Function CreateScript(Of T)(code As String, options As ScriptOptions, globalsTypeOpt As Type, assemblyLoader As InteractiveAssemblyLoader) As Script(Of T)
VisualBasicScript.vb (2)
26Optional assemblyLoader As InteractiveAssemblyLoader = Nothing) As Script(Of T) 36Optional assemblyLoader As InteractiveAssemblyLoader = Nothing) As Script(Of Object)