private void SubmissionSuccessfullyExecuted(RemoteExecutionResult result)
        {
            // only remember the submission if we compiled successfully, otherwise we
            // ignore it's id so we don't reference it in the next submission.
            _previousSubmissionProjectId = _currentSubmissionProjectId;

            // Grab any directive references from it
            var compilation = _workspace.CurrentSolution.GetProject(_previousSubmissionProjectId).GetCompilationAsync().Result;
            _references = _references.Union(compilation.DirectiveReferences);

            // update local search paths - remote paths has already been updated

            UpdateLocalPaths(result.NewReferencePaths, result.NewSourcePaths, result.NewWorkingDirectory);
        }
 private void UpdateResolvers(RemoteExecutionResult result)
 {
     UpdateResolvers(result.ChangedReferencePaths.AsImmutableOrNull(), result.ChangedSourcePaths.AsImmutableOrNull(), result.ChangedWorkingDirectory);
 }