Also unwrap ByRef types when doing a search for type arguments.
Also unwrap ByRef types when doing a search for type arguments.

This means that generic method arguments are correctly detected as
type-inferrable when they're inferable due to ref/out parameters.

EamonNerbonne/ExpressionToCode,asd-and-Rizzo/ExpressionToCode