=== tests/cases/compiler/visibilityOfTypeParameters.ts ===

export class MyClass {
>MyClass : MyClass

    protected myMethod<T>(val: T): T {
>myMethod : <T>(val: T) => T
>T : T
>val : T
>T : T
>T : T

        return val;
>val : T
    }
}
