2 instantiations of InteractiveScriptGlobals
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
174var globals = new InteractiveScriptGlobals(Console.Out, replServiceProvider.ObjectFormatter);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
216var globals = new InteractiveScriptGlobals(_console.Out, _objectFormatter);
11 references to InteractiveScriptGlobals
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
307hostObjectType: typeof(InteractiveScriptGlobals)));
Microsoft.CodeAnalysis.InteractiveHost (7)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
85metadataReferencePaths: ImmutableArray.Create(typeof(object).Assembly.Location, typeof(InteractiveScriptGlobals).Assembly.Location),
Interactive\Core\InteractiveHost.Service.cs (6)
53public readonly InteractiveScriptGlobals Globals; 55public ServiceState(InteractiveAssemblyLoader assemblyLoader, MetadataShadowCopyProvider metadataFileProvider, ReplServiceProvider replServiceProvider, InteractiveScriptGlobals globals) 174var globals = new InteractiveScriptGlobals(Console.Out, replServiceProvider.ObjectFormatter); 427var globals = GetServiceState().Globals; 519metadataReferencePaths.Add(typeof(InteractiveScriptGlobals).Assembly.Location); 584var globals = serviceState.Globals;
Microsoft.CodeAnalysis.Scripting (3)
Hosting\CommandLine\CommandLineRunner.cs (3)
216var globals = new InteractiveScriptGlobals(_console.Out, _objectFormatter); 286private void BuildAndRun(Script<object> newScript, InteractiveScriptGlobals globals, ref ScriptState<object> state, ref ScriptOptions options, bool displayResult, CancellationToken cancellationToken) 312private static ScriptOptions UpdateOptions(ScriptOptions options, InteractiveScriptGlobals globals)