2 instantiations of InteractiveScriptGlobals
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
172var globals = new InteractiveScriptGlobals(Console.Out, replServiceProvider.ObjectFormatter);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
226var globals = new InteractiveScriptGlobals(Console.Out, _objectFormatter);
10 references to InteractiveScriptGlobals
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
305hostObjectType: typeof(InteractiveScriptGlobals)));
Microsoft.CodeAnalysis.InteractiveHost (6)
Interactive\Core\InteractiveHost.Service.cs (6)
51public readonly InteractiveScriptGlobals Globals; 53public ServiceState(InteractiveAssemblyLoader assemblyLoader, MetadataShadowCopyProvider metadataFileProvider, ReplServiceProvider replServiceProvider, InteractiveScriptGlobals globals) 172var globals = new InteractiveScriptGlobals(Console.Out, replServiceProvider.ObjectFormatter); 419var globals = GetServiceState().Globals; 511metadataReferencePaths.Add(typeof(InteractiveScriptGlobals).Assembly.Location); 576var globals = serviceState.Globals;
Microsoft.CodeAnalysis.Scripting (3)
Hosting\CommandLine\CommandLineRunner.cs (3)
226var globals = new InteractiveScriptGlobals(Console.Out, _objectFormatter); 296private void BuildAndRun(Script<object> newScript, InteractiveScriptGlobals globals, ref ScriptState<object>? state, ref ScriptOptions options, bool displayResult, CancellationToken cancellationToken) 322private static ScriptOptions UpdateOptions(ScriptOptions options, InteractiveScriptGlobals globals)