[MonoDevelop] Bugzilla Bug Bugzilla bug 57782

Todd Berman tberman at off.net
Fri Jun 3 02:32:01 EDT 2005


On Fri, 2005-06-03 at 07:59 +0200, Jacob Ilsø Christensen wrote:
> On 6/3/05, Todd Berman <tberman at off.net> wrote:
> > Regardless of that, you need to while over ParentCombine assigning
> > upwards until you get the true parent, as it is possible to have it
> > multiple levels deep, like:
> > 
> > if (ParentCombine != null) {
> >     Combine top_parent = ParentCombine;
> >     while (top_parent.ParentCombine != null) {
> >         top_parent = top_parent.ParentCombine;
> >     }
> >     top_parent.RemoveReferencesToProject
> > }
> > 
> 
> That should not be necessary as I just call the method recursively in
> the parent.

Excellent point :)

--Todd



More information about the Monodevelop-list mailing list