Type parameter cannot have the same name as its defining function

A type parameter of a generic type is declared with the same name as the 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.

Error ID: BC32090

To correct this error

  • Rename the type parameter to be distinct from every name cited in the list on this Help page.

See Also

Concepts

Generic Types in Visual Basic

Reference

Type List