Revert "Fixed handling of template methods processing."

This is not the right way to fix the issue and was causing a lot of other parsing problems...

This reverts commit 463730baeb652b44268dc93120b047b6e3d32a37.
Be more careful when handling type locations in WalkType and check for validness before each use.
Remove assert temporarily as it causes some relatively harmless assertions in debug mode in some special cases.
Add dummy GetHashCode implementations.