Menu

#93 CodeElement should not recursively retrieve elements

open
nobody
None
5
2007-12-02
2007-12-02
No

CodeElement has several methods that retrieves elements from the originating element like getMethodList(), getPropertyList, and getClassList(). All of these recursively search for elements although it is not immediately obvious as to why someone would want to do this. Every .NET type is structured in a hierarchical manner and I don't feel that there is any reason why you would, for example, want to retrieve every single method contained within a namespace.

Why do these methods go down recursively?

Discussion


Log in to post a comment.