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