iterate over TypeInfo hierarchy to find all properties

Tried to update Octokit.net from 0.30 to 0.34 and found this regression.

Here's the simplest fix that gets me back to a happy place...