Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The type 'type1' cannot be used as type parameter 'T' in the generic type or met

## To correct this error

1. Change the argument you are using to create the class.
1. Change the type argument you are using to own that fulfills the constraint.

2. If you own the class, you can remove the constraint or else do something to enable an implicit reference or identity conversion. For example, you can make the second type inherit from the first.

Expand Down