diff options
author | Mike Krüger <mkrueger@novell.com> | 2011-06-18 13:14:07 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2011-06-18 13:14:07 +0400 |
commit | 849b8902d02844df030ba376af9cee6e741e53af (patch) | |
tree | 1be869c1626591b12fff2cb5b7c31d3d39a98eac /main/src/addins/MonoDevelop.AssemblyBrowser | |
parent | 63b0e87ea18f73ad16caa83bf4107038c4264535 (diff) |
Updated NRefactory. Some members got renamed.
Diffstat (limited to 'main/src/addins/MonoDevelop.AssemblyBrowser')
3 files changed, 7 insertions, 7 deletions
diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs index 43be2da815..775ed43aa8 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/AssemblyBrowserWidget.cs @@ -492,13 +492,13 @@ namespace MonoDevelop.AssemblyBrowser string pattern = e.Argument.ToString ().ToUpper (); int types = 0, curType = 0; foreach (var unit in this.definitions) { - types += unit.Value.GetClasses ().Count (); + types += unit.Value.GetTypes ().Count (); } var members = new List<IMember> (); switch (searchMode) { case SearchMode.Member: foreach (var unit in this.definitions) { - foreach (var type in unit.Value.GetClasses ()) { + foreach (var type in unit.Value.GetTypes ()) { if (worker.CancellationPending) return; curType++; @@ -529,7 +529,7 @@ namespace MonoDevelop.AssemblyBrowser IdeApp.Workbench.StatusBar.BeginProgress (GettextCatalog.GetString ("Searching string in disassembled code...")); }); foreach (var unit in this.definitions) { - foreach (var type in unit.Value.GetClasses ()) { + foreach (var type in unit.Value.GetTypes ()) { if (worker.CancellationPending) return; curType++; @@ -557,7 +557,7 @@ namespace MonoDevelop.AssemblyBrowser break; case SearchMode.Decompiler: foreach (var unit in this.definitions) { - foreach (var type in unit.Value.GetClasses ()) { + foreach (var type in unit.Value.GetTypes ()) { if (worker.CancellationPending) return; curType++; @@ -585,7 +585,7 @@ namespace MonoDevelop.AssemblyBrowser case SearchMode.Type: var typeList = new List<IType> (); foreach (var unit in this.definitions) { - foreach (var type in unit.Value.GetClasses ()) { + foreach (var type in unit.Value.GetTypes ()) { if (worker.CancellationPending) return; if (type.FullName.ToUpper ().IndexOf (pattern) >= 0) diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomTypeNodeBuilder.cs b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomTypeNodeBuilder.cs index 142a52daf2..fdd1bc7ece 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomTypeNodeBuilder.cs +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomTypeNodeBuilder.cs @@ -130,7 +130,7 @@ namespace MonoDevelop.AssemblyBrowser var list = new System.Collections.ArrayList (); list.Add (new BaseTypeFolder (type)); bool publicOnly = builder.Options ["PublicApiOnly"]; - foreach (var t in type.InnerClasses.Where (m => !m.GetDefinition ().IsSynthetic && !(publicOnly && m.GetDefinition ().IsPublic))) + foreach (var t in type.NestedTypes.Where (m => !m.GetDefinition ().IsSynthetic && !(publicOnly && m.GetDefinition ().IsPublic))) list.Add (t); foreach (var m in type.Members.Where (m => !m.IsSynthetic && !(publicOnly && !(m.IsPublic || m.IsInternal)))) list.Add (m); diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/ModuleDefinitionNodeBuilder.cs b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/ModuleDefinitionNodeBuilder.cs index b88d16024a..88bb0aa92f 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/ModuleDefinitionNodeBuilder.cs +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/ModuleDefinitionNodeBuilder.cs @@ -71,7 +71,7 @@ namespace MonoDevelop.AssemblyBrowser var ctx = GetContent (builder); foreach (var ns in ctx.GetNamespaces ()) { var newSpace = new Namespace (ns); - newSpace.Types.AddRange (ctx.GetClasses (ns, StringComparer.Ordinal).Where (c => !publicOnly || c.IsPublic )); + newSpace.Types.AddRange (ctx.GetTypes (ns, StringComparer.Ordinal).Where (c => !publicOnly || c.IsPublic )); if (newSpace.Types.Count > 0) namespaces [ns] = newSpace; } |