Author Topic: Actual C# source code parsing  (Read 3188 times)

eahlers

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Actual C# source code parsing
« on: August 08, 2024, 08:50:17 pm »
I have program version 16.1.1626 and want to read c# source code. (un)fortunately I moved recently from old .Net Framework to actual .Net. Therefore I'm also usind the new language features, e.g. primary constructor.
But my EA version can't handle this.

Is there a way to read also such code correctly in?

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Re: Actual C# source code parsing
« Reply #1 on: August 16, 2024, 04:38:32 pm »
Which version of C# (in your case C# version 12, I guess, with the new features such as primary constructors, collection expressions, inline arrays, and ref readonly parameters) EA is able to reverse-engineer (round trip engineer) is not mentioned in the documentation, as far as I know :( (see for example here: https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_domains/csharp_conventions.html)
« Last Edit: August 16, 2024, 05:22:56 pm by Viking »