Book a Demo

Author Topic: Support for C# Generics  (Read 3382 times)

Luiz

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Support for C# Generics
« on: October 25, 2004, 11:42:19 am »
I have a class in C# that declares a private member using an instance initializer:

private List<IFinding> dependencies = new List<IFinding>();

But what EA 4.1 infers is

IFinding is the name of the attribute, and List is the type of the attribute.

When will C# 2.0 Generics be supported fully?
Thanks

Rob Cecil

Luiz

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Support for C# Generics
« Reply #1 on: October 25, 2004, 11:45:18 am »
One additional comment. It appears I can manually add an attribute, using generic's notation. The problem seems to mainly exist for code import.

Rob

Sebastiaop

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Support for C# Generics
« Reply #2 on: November 01, 2004, 12:51:36 pm »
I'm facing the same problem here. Cannot reverse engineer c# code that uses generics.
I've posted a message here in Oct/15 but until this moment there were no answer.
Our company is evaluating EA and we will probably end up not purchasing it because this problem. We use lots of generics in our code, what makes it impossible to import.

Luiz

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Support for C# Generics
« Reply #3 on: November 01, 2004, 01:01:51 pm »
That stinks. Too bad, because EA is otherwise a great tool.

Rob

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Support for C# Generics
« Reply #4 on: November 02, 2004, 01:08:57 am »
How well does EA handle C++ <templates> - shouldn't be a million miles away from generics, in parse terms.

Report it as a bug using the form on the main website.
« Last Edit: November 05, 2004, 01:16:20 am by mikewhit »