1 instantiation of RemoteExecutionResult
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
426
completionSource.TrySetResult(new
RemoteExecutionResult
(success, newSourcePaths, newReferencePaths, newWorkingDirectory, initResult));
26 references to RemoteExecutionResult
Microsoft.CodeAnalysis.InteractiveHost (26)
Interactive\Core\InteractiveHost.cs (9)
70
internal event Action<InteractiveHostPlatformInfo, InteractiveHostOptions,
RemoteExecutionResult
>? ProcessInitialized;
270
private async Task<
RemoteExecutionResult
> ExecuteRemoteAsync(string targetName, params object?[] arguments)
271
=> (await InvokeRemoteAsync<
RemoteExecutionResult
.Data>(targetName, arguments).ConfigureAwait(false))?.Deserialize() ?? default;
284
private static async Task<
RemoteExecutionResult
> ExecuteRemoteAsync(RemoteService remoteService, string targetName, params object?[] arguments)
285
=> (await InvokeRemoteAsync<
RemoteExecutionResult
.Data>(remoteService, targetName, arguments).ConfigureAwait(false))?.Deserialize() ?? default;
331
public async Task<
RemoteExecutionResult
> ResetAsync(InteractiveHostOptions options)
363
public Task<
RemoteExecutionResult
> ExecuteAsync(string code)
378
public Task<
RemoteExecutionResult
> ExecuteFileAsync(string path)
401
public Task<
RemoteExecutionResult
> SetPathsAsync(ImmutableArray<string> referenceSearchPaths, ImmutableArray<string> sourceSearchPaths, string baseDirectory)
Interactive\Core\InteractiveHost.InitializedRemoteService.cs (2)
12
public readonly
RemoteExecutionResult
InitializationResult;
14
public InitializedRemoteService(RemoteService service,
RemoteExecutionResult
initializationResult)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
72
RemoteExecutionResult
result;
Interactive\Core\InteractiveHost.Service.cs (13)
243
public async Task<
RemoteExecutionResult
.Data> SetPathsAsync(
248
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
259
TaskCompletionSource<
RemoteExecutionResult
> completionSource,
291
public async Task<
RemoteExecutionResult
.Data> InitializeContextAsync(string? initializationFilePath, bool isRestarting)
293
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
348
public async Task<
RemoteExecutionResult
.Data> ExecuteAsync(string text)
350
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
359
private async Task<EvaluationState> ExecuteAsync(TaskCompletionSource<
RemoteExecutionResult
> completionSource, Task<EvaluationState> lastTask, string text)
406
public async Task<
RemoteExecutionResult
.Data> ExecuteFileAsync(string path)
408
var completionSource = new TaskCompletionSource<
RemoteExecutionResult
>();
418
private EvaluationState CompleteExecution(EvaluationState state, TaskCompletionSource<
RemoteExecutionResult
> completionSource, bool success, RemoteInitializationResult? initResult = null)
498
TaskCompletionSource<
RemoteExecutionResult
> completionSource,
679
TaskCompletionSource<
RemoteExecutionResult
> completionSource,
Interactive\Core\RemoteExecutionResult.cs (1)
20
public
RemoteExecutionResult
Deserialize()