Book a Demo

Author Topic: Round Trip engineering failing in C# on a indexer  (Read 3339 times)

glen

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Round Trip engineering failing in C# on a indexer
« on: December 30, 2003, 05:30:44 am »
I am using the lastest version on EA. I am generating a class that has an indexer property on it. The initial generation of the code is perfect. However, a round trip is putting the indexer property stub in the code again. And I haven't even put any of my code in the .cs yet. EA seems to be a very well put together & extensible product. I am not sure if this a bug or what. Code generation is C#.

Thanks for any input / suggestions

Sean Kearon

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Round Trip engineering failing in C# on a inde
« Reply #1 on: January 07, 2004, 08:22:59 am »
When you right-click the class and select code generation, click the 'advanced' button on the first dialog and then check 'replace existing source file' is the only way I found to get around this (we don't use EA for code generation though).  

If this is the only way around this, it sounds like a bug to me!

Sean

glen

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Round Trip engineering failing in C# on a inde
« Reply #2 on: January 07, 2004, 09:27:29 am »
Sparx Systems contacted me stating this was a bug and will be fixed in the EA 4.00 release.