Type parameter '<typeparametername>' has the same name as a type parameter of an enclosing type
A type parameter of a generic type is declared with the same name as a type parameter of a containing generic type.
In the type parameter list of a generic type, each type parameter must have a name distinct from all of the following names:
Every other type parameter in the same type parameter list,
Every type parameter in the type parameter list of any containing generic type, and
The name of the generic type itself.
By default, this message is a warning. For information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC40048
To correct this error
- Rename the type parameter to be distinct from every name cited in the list on this Help page.