1 instantiation of Service
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
235
var jsonRpc = CreateRpc(serverStream, incomingCallTarget: new
Service
(invokeOnMainThread));
10 references to Service
InteractiveHost.UnitTests (2)
AbstractInteractiveHostTests.cs (2)
180
await remoteService!.JsonRpc.InvokeAsync(nameof(InteractiveHost.
Service
.RemoteConsoleWriteAsync), InteractiveHost.OutputEncoding.GetBytes(mark), isError).ConfigureAwait(false);
216
return await remoteService!.JsonRpc.InvokeAsync<string>(nameof(InteractiveHost.
Service
.GetRuntimeDirectoryAsync)).ConfigureAwait(false);
InteractiveHost32 (1)
InteractiveHostEntryPoint.cs (1)
44
await InteractiveHost.
Service
.RunServerAsync(args, invokeOnMainThread).ConfigureAwait(false);
InteractiveHost64 (1)
InteractiveHostEntryPoint.cs (1)
44
await InteractiveHost.
Service
.RunServerAsync(args, invokeOnMainThread).ConfigureAwait(false);
Microsoft.CodeAnalysis.InteractiveHost (6)
Interactive\Core\InteractiveHost.cs (4)
367
return ExecuteRemoteAsync(nameof(
Service
.ExecuteAsync), code);
382
return ExecuteRemoteAsync(nameof(
Service
.ExecuteFileAsync), path);
396
return InvokeRemoteAsync<bool>(nameof(
Service
.AddReferenceAsync), reference);
408
return ExecuteRemoteAsync(nameof(
Service
.SetPathsAsync), referenceSearchPaths, sourceSearchPaths, baseDirectory);
Interactive\Core\InteractiveHost.LazyRemoteService.cs (2)
104
result = await ExecuteRemoteAsync(remoteService, nameof(
Service
.InitializeContextAsync), Options.InitializationFilePath, isRestarting).ConfigureAwait(false);
213
nameof(
Service
.InitializeAsync),