Book a Demo

Author Topic: C#/VS2005 Reverse Engineering  (Read 2942 times)

IanBevan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
C#/VS2005 Reverse Engineering
« on: August 24, 2005, 08:21:21 pm »
Hi guys

Sorry if this has been asked before, but I couldn't find the thread if so:

1. Does EA 5 (we have build 767 currently) support reverse engineering of partial classes? I tried it, but my partial class ('Class1') appeared twice in the class browser.

2. Similarly, are C# Generics supported? If so, are there any limitations?

Thanks




Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C#/VS2005 Reverse Engineering
« Reply #1 on: August 24, 2005, 09:05:02 pm »
It's been asked, but it's easier to just answer than refer you to the thread.

Yes, it does support both of those features.

Partial classes are deliberately kept distinct from each other to allow you maintain control of what is contained in each partial bit.

C# generics are supported, although referring to instantiations need to be modelled using the full class name, including the instantiation information.  Also generic methods can only be modelled using tagged values.

Simon

IanBevan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: C#/VS2005 Reverse Engineering
« Reply #2 on: August 24, 2005, 09:14:07 pm »
Hello Simon

Thanks for the speed response.

A further question (which I wish I had time to test myself) does EA preserve metadata declarations like:

[somestuff here]
class myclass
{}

on classes/methods/attributes?




Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C#/VS2005 Reverse Engineering
« Reply #3 on: August 24, 2005, 09:46:25 pm »
Tagged value on whatever it belongs to.