Book a Demo

Author Topic: Reverse engineer C# generics  (Read 2962 times)

PaulH

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Reverse engineer C# generics
« on: September 10, 2007, 06:41:06 am »
The reverse engineering of generics is still slightly broken; sometimes it gets it correct other times wrong.

One issue I've found is when you have two classes with the same name only difference by the generic types, e.g. IDao and IDao<T, ID>.

It gets confused and diagrams that IDao<T, ID> inherits from itself rather than IDao.

Should I just report stuff like this as a bug?
« Last Edit: September 10, 2007, 06:41:50 am by paulh »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Reverse engineer C# generics
« Reply #1 on: September 10, 2007, 08:04:20 am »
Quote
The reverse engineering of generics is still slightly broken; sometimes it gets it correct other times wrong.

One issue I've found is when you have two classes with the same name only difference by the generic types, e.g. IDao and IDao<T, ID>.

It gets confused and diagrams that IDao<T, ID> inherits from itself rather than IDao.

Should I just report stuff like this as a bug?

Yes you should Paul,

But please do not "just" report it. Search my recent posts for a best practice we've been using to keep both Sparx and the user community in the loop on these.

To make your search easier, we use the same practice for bugs and feature requests. You'll find the latter easier to search for.

David
No, you can't have it!