[mono/monodevelop] b8b0ac34: Fixed 'Bug 15858 - Renaming a derived class changes the base class'

Mike Krüger ([email protected]) <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <0000014211bf59a5-df3d91b2-8fc5-4aa4-84c8-a45394ecaec7-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/cb3a3768de46...b8b0ac34c88d

   Commit: b8b0ac34c88d3b84d8bfcf8871f604c1b8b20f6e
   Author: Mike Krüger <[email protected]> (mkrueger)
     Date: 2013-11-01 03:36:27 GMT
      URL: https://github.com/mono/monodevelop/commit/b8b0ac34c88d3b84d8bfcf8871f604c1b8b20f6e

Fixed 'Bug 15858 - Renaming a derived class changes the base class'
finalizer'.

Changed paths:
  M main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.FindInFiles/ReferencesFinder.cs

Modified: main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.FindInFiles/ReferencesFinder.cs
===================================================================
@@ -253,7 +253,7 @@ internal static IEnumerable<IEntity> CollectMembers (IType type)
 					yield return c;
 			}
 
-			foreach (var m in type.GetMethods (m  => m.IsDestructor)) {
+			foreach (var m in type.GetMethods (m  => m.IsDestructor, GetMemberOptions.IgnoreInheritedMembers)) {
 				yield return m;
 			}
 		}
_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.