Book a Demo

Author Topic: C# public properties indicated as private  (Read 3635 times)

Servant

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
C# public properties indicated as private
« on: February 04, 2009, 04:53:41 am »
I created a library in C# and imported the binary into EA. All appears well, except that the public properties for classes are indicated as private in the class diagram. How do I get EA to import these properties correctly?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C# public properties indicated as private
« Reply #1 on: February 04, 2009, 07:21:20 am »
Which import method did you use, and what build of Enterprise Architect are you using?

I seem to remember fixing a similar issue quite some time ago.

Servant

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: C# public properties indicated as private
« Reply #2 on: February 04, 2009, 08:43:16 am »
I imported the binary by right-clicking on a package and selecting "Code Engineering | Import Binary Module". I enabled all options in the dialog, including the one to create a diagram.

I'm using EA v7.1.830. The binary was created with VS 2005, .NET 2.0.

Couldn't find anything in the forum describing this problem.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C# public properties indicated as private
« Reply #3 on: February 04, 2009, 02:29:02 pm »
Yep.  831 fixes your problems according to the release notes.

Quote
Added import of visibility for properties and events from .Net reflection importer.