[Mono.Debugger.Soft] Fix bug 22194 - cannot use typeof with type parameters.

If the current method is generic or the declaring type of the method is generic look to see if the name matches one of the type arguments.
Merge pull request #39 from sgmunn/bug-22194

[Mono.Debugger.Soft] Fix bug 22194 - cannot use typeof with type paramet...