Type parameters cannot be specified on this declaration
A programming element is declared with a type parameter list, but the programming element is not eligible to be a generic type.
Programming elements that are not eligible to be generic include properties, operators, events, and constructors. Declaring any of these elements with a type parameter list results in this error.
Error ID: BC32065
To correct this error
- Remove the Of keyword and the type parameters from the declaration.