Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Servant on February 04, 2009, 04:53:41 am

Title: C# public properties indicated as private
Post by: Servant 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?
Title: Re: C# public properties indicated as private
Post by: Eve 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.
Title: Re: C# public properties indicated as private
Post by: Servant 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.
Title: Re: C# public properties indicated as private
Post by: Eve 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.