/// <summary> /// Get all methods with the specified name. /// </summary> /// <param name="name">The method name.</param> /// <param name="searchBaseClasses">Pass <c>false</c> to NOT search base classes.</param> public List <MethodRef> GetMethods(string name, bool searchBaseClasses) { NamedCodeObjectGroup results = new NamedCodeObjectGroup(); GetMethods(name, searchBaseClasses, results); return(MethodRef.MethodRefsFromGroup(results)); }