Type argument 'AssemblyDocument' does not inherit from or implement the constraint type 'Document'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Am I missing something, or do `AssemblyDocument`, `PartDocument` and `DrawingDocument` really not inherit from `Document`?
I'm trying to implement a wrapper class for each, with an abstract class underlying them. But when I try to implement the document type generically, I'm faced with this intellisense error, that these aren't actually related classes.
Two alternatives I've tried: not using a type constraint in the abstract class, but then errors are being reported about certain properties/methods not being defined; and using a set of type constraints of each document type, but then errors are reported about overload resolutions failing for certain properties/methods due to identical implementation across all.
Assuming all this to be true, has anyone found a clever way around this?