In this article

Compiler Warning (level 3) CS0693

07/20/2015

2 minutes to read

Contributors

In this article

Type parameter 'type parameter' has the same name as the type parameter from outer type 'type'

This error occurs when you have a generic member such as a method inside a generic class. Since the method's type parameter is not necessarily the same as the class's type parameter, you cannot give them both the same name. For more information, see Generic Methods.

To avoid this situation, use a different name for one of the type parameters.