Re: Error: More than one protection modifier

Peter Osucha <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
With the nice pink (no red) hue of embarrassment on my face, I must say that
I figured out where the other protection modifier was.

I have a #region..#endregion declaration around the class variables at the
top of those classes I posted.  Somehow ( I guess a bad 'paste' ), I had a
single 'private' before the #endregion declaration.  The next line in the
class (after another #region declaration to declare a section of the class
dealing with constructor) was the public ValueItem() constructor.

So it seems that there were two modifiers - private and then public
separated by a few #region declarations and some comments concerning how to
use the constructor.

My apologies for the 'false alarm' post.

Peter


> -----Original Message-----
> From: Discussion relating to the specifics of the C# and
> Managed C++ languages [mailto:[email protected]]
> On Behalf Of Peter Osucha
> Sent: Friday, September 08, 2006 2:29 PM
> To: [email protected]
> Subject: Re: [DOTNET-CX] Error: More than one protection modifier
>
<snip>

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.