diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-09-02 16:05:44 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-09-02 16:05:44 +0400 |
commit | e8c70b2a0ccf6767550271f109d6d024279d62ea (patch) | |
tree | 76a7cc7978546ead6966452f2aacdcce4c170555 /main/src/addins/CBinding | |
parent | 0c592471a30c569089313c188dc05e9802202304 (diff) |
Track API changes.
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/Gui/CTextEditorExtension.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/CBinding/Gui/CTextEditorExtension.cs b/main/src/addins/CBinding/Gui/CTextEditorExtension.cs index b4717f1995..be8da36274 100644 --- a/main/src/addins/CBinding/Gui/CTextEditorExtension.cs +++ b/main/src/addins/CBinding/Gui/CTextEditorExtension.cs @@ -684,7 +684,7 @@ namespace CBinding var result = new List<PathEntry> (); var amb = GetAmbience (); var ctx = document.TypeResolveContext; - var type = unit.GetTypeDefinition (loc.Line, loc.Column) ?? unit.TopLevelTypeDefinitions.FirstOrDefault (); + var type = unit.GetInnermostTypeDefinition (loc.Line, loc.Column) ?? unit.TopLevelTypeDefinitions.FirstOrDefault (); var curType = type; object lastTag = unit; while (curType != null) { |