CodeElement should not recursively retrieve elements
Status: Beta
Brought to you by:
bernhardbrem
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?