diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-10-24 16:40:06 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-10-24 16:40:06 +0400 |
commit | c9e7178fbffec74697362e36f1033268441db308 (patch) | |
tree | 7dcd784ad112c7349a16462041bf5d72c7e55c68 /main/src/addins/MonoDevelop.Refactoring | |
parent | 755d621c881f2ef8c8f4209ff27fc3317c6c0a04 (diff) |
[CSharpBinding] Corrected resolver usage.
Diffstat (limited to 'main/src/addins/MonoDevelop.Refactoring')
-rw-r--r-- | main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringOptions.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringOptions.cs b/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringOptions.cs index 1a7820ee0b..c6abdd994f 100644 --- a/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringOptions.cs +++ b/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/RefactoringOptions.cs @@ -179,8 +179,8 @@ namespace MonoDevelop.Refactoring var navigator = new NodeListResolveVisitorNavigator (new[] { node }); var visitor = new ICSharpCode.NRefactory.CSharp.Resolver.ResolveVisitor (csResolver, pf, navigator); - unit.AcceptVisitor (visitor, null); - return visitor.Resolve (node); + visitor.Scan (unit); + return visitor.GetResolveResult (node); } public AstType CreateShortType (IType fullType) |