diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-12-02 14:09:36 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-12-02 14:09:36 +0400 |
commit | 5fbb8ebf78f8b5bb9962e600af2c3e2ac027bfaa (patch) | |
tree | c48e1f795c68d2d4de169748a70503d4754532b5 /main/src/addins/CSharpBinding | |
parent | 9f9cdee250d3a8e7e9b66488586c48011fa506ce (diff) |
[Stetic] Track nrefactory api changes.
Diffstat (limited to 'main/src/addins/CSharpBinding')
-rw-r--r-- | main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs index 8507ab30a0..7c0d206310 100644 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs +++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs @@ -175,7 +175,7 @@ namespace MonoDevelop.CSharp.Completion return null; var list = new CompletionDataList (); var engine = new CSharpCompletionEngine (textEditorData.Document, this); - engine.ctx = CSharpParsedFile.GetTypeResolveContext (Document.Compilation, document.Editor.Caret.Location); + engine.ctx = CSharpParsedFile.GetTypeResolveContext (Document.Compilation, document.Editor.Caret.Location) as CSharpTypeResolveContext; engine.Unit = Unit; engine.CSharpParsedFile = CSharpParsedFile; engine.FormattingPolicy = FormattingPolicy.CreateOptions (); @@ -317,7 +317,7 @@ namespace MonoDevelop.CSharp.Completion if (Unit == null || CSharpParsedFile == null) return null; var engine = new CSharpParameterCompletionEngine (textEditorData.Document, this); - engine.ctx = CSharpParsedFile.GetTypeResolveContext (Document.Compilation, document.Editor.Caret.Location); + engine.ctx = CSharpParsedFile.GetTypeResolveContext (Document.Compilation, document.Editor.Caret.Location) as CSharpTypeResolveContext; engine.Unit = Unit; engine.CSharpParsedFile = CSharpParsedFile; engine.ProjectContent = Document.GetProjectContext (); |