Type parameter name '<typeparametername1>' does not match the name '<typeparametername2>' of the corresponding type parameter defined on one of the other partial types of '<partialtypename>'
A generic class or structure is defined in multiple partial declarations with conflicting type parameter specifications.
When you divide the definition of a class or structure among several partial declarations, the compiler treats the type as the union of all its partial declarations. This applies not only to the members but also to the implementation, inheritance, and access level.
You cannot specify multiple names for any type parameter in the definition of a generic class or structure.
Error ID: BC30931
To correct this error
- Decide what name the type parameter should have, and use the same name in every partial declaration.
See Also
Concepts
Classes: Blueprints for Objects
Reference
Class Statement (Visual Basic)