'<parametername>' is already declared as a type parameter of this method

A generic procedure defines a normal parameter or a local variable with the same name as a type parameter.

Every parameter of a procedure, including every type parameter of a generic procedure, must have a name distinct from all other parameters. Because procedure parameters are used as local variables, any local variable declared within the procedure must also have a name distinct from all parameters and type parameters.

Error ID: BC32089

To correct this error

  • Change the name of the normal parameter or local variable.

See Also

Concepts

Generic Procedures in Visual Basic

Reference

Parameter List