3 instantiations of InteractiveHost
InteractiveHost.UnitTests (2)
AbstractInteractiveHostTests.cs (1)
64Host = new InteractiveHost(typeof(CSharpReplServiceProvider), ".", millisecondsTimeout: -1, joinOutputWritingThreadsOnDisposal: true);
StressTests.cs (1)
31using var host = new InteractiveHost(typeof(CSharpReplServiceProvider), ".", millisecondsTimeout: 1, joinOutputWritingThreadsOnDisposal: true);
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
105Host = new InteractiveHost(languageInfo.ReplServiceProviderType, initialWorkingDirectory);
17 references to InteractiveHost
InteractiveHost.UnitTests (5)
AbstractInteractiveHostTests.cs (4)
34internal readonly InteractiveHost Host; 180await remoteService!.JsonRpc.InvokeAsync(nameof(InteractiveHost.Service.RemoteConsoleWriteAsync), InteractiveHost.OutputEncoding.GetBytes(mark), isError).ConfigureAwait(false); 216return await remoteService!.JsonRpc.InvokeAsync<string>(nameof(InteractiveHost.Service.GetRuntimeDirectoryAsync)).ConfigureAwait(false);
StressTests.cs (1)
31using var host = new InteractiveHost(typeof(CSharpReplServiceProvider), ".", millisecondsTimeout: 1, joinOutputWritingThreadsOnDisposal: true);
InteractiveHost32 (1)
InteractiveHostEntryPoint.cs (1)
44await InteractiveHost.Service.RunServerAsync(args, invokeOnMainThread).ConfigureAwait(false);
InteractiveHost64 (1)
InteractiveHostEntryPoint.cs (1)
44await InteractiveHost.Service.RunServerAsync(args, invokeOnMainThread).ConfigureAwait(false);
Microsoft.CodeAnalysis.EditorFeatures (3)
Interactive\InteractiveSession.cs (3)
36public InteractiveHost Host { get; } 118/// Invoked by <see cref="InteractiveHost"/> when a new process initialization completes. 364platform ?? Host.OptionsOpt?.Platform ?? InteractiveHost.DefaultPlatform);
Microsoft.CodeAnalysis.InteractiveHost (7)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (3)
31public readonly InteractiveHost Host; 35public LazyRemoteService(InteractiveHost host, InteractiveHostOptions options, int instanceId, bool skipInitialization) 140var pipeName = typeof(InteractiveHost).FullName + Guid.NewGuid();
Interactive\Core\InteractiveHost.RemoteService.cs (4)
35private InteractiveHost? _host; // nulled on dispose 40internal RemoteService(InteractiveHost host, Process process, int processId, JsonRpc jsonRpc, InteractiveHostPlatformInfo platformInfo, InteractiveHostOptions options) 97var host = _host; 165var localHost = _host;