Skip to content

Commit

Permalink
Merge pull request mono#1850 from mono/cycle9-fix52378
Browse files Browse the repository at this point in the history
Fixed 'Bug 52378 - Code completion broken on standalone files'
  • Loading branch information
slluis authored Feb 9, 2017
2 parents 721027b + d5c39ee commit 33e69e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,9 @@ Task EnsureAnalysisDocumentIsOpen ()
adhocSolution = new Solution ();
adhocSolution.AddConfiguration ("", true);
adhocSolution.DefaultSolutionFolder.AddItem (newProject);
MonoDevelopWorkspace.LoadingFinished -= TypeSystemService_WorkspaceItemLoaded;
return TypeSystemService.Load (adhocSolution, new ProgressMonitor (), token).ContinueWith (task => {
MonoDevelopWorkspace.LoadingFinished += TypeSystemService_WorkspaceItemLoaded;
if (token.IsCancellationRequested)
return;
UnsubscribeRoslynWorkspace ();
Expand Down

0 comments on commit 33e69e5

Please sign in to comment.