[Mono-list] meaning of "protected internal"?

Conrad Zhang jungfeng.zhang@verizon.net
Tue, 8 Apr 2003 22:47:39 -0800


Sorry I should add a link:
http://www.jaggersoft.com/csharp_standard/10.5.1.htm

----- Original Message -----
From: "Conrad Zhang" <jungfeng.zhang@verizon.net>
To: "David Jeske" <jeske@chat.net>; "Mono List" <mono-list@ximian.com>
Sent: Tuesday, April 08, 2003 10:41 PM
Subject: Re: [Mono-list] meaning of "protected internal"?


> C# Specification 3.5.1
> a.. Protected internal (meaning protected or internal), which is selected
by
> including both a protected and an internal modifier in the member
> declaration. The intuitive meaning of protected internal is "access
limited
> to this program or types derived from the containing class".
>
> ----- Original Message -----
> From: "David Jeske" <jeske@chat.net>
> To: "Mono List" <mono-list@ximian.com>
> Sent: Tuesday, April 08, 2003 9:28 PM
> Subject: [Mono-list] meaning of "protected internal"?
>
>
> > I checked with the Csharp language reference, and at least one version
> > of it says this:
> >
> > "protected internal members are accessable only from derived classes
> > in the same assembly"
> >
> > This means that it is "protected && internal". Do you have a reference
> > which says that it is "protected || internal"?
> >
> > BTW, I think Mono treats it as "accessable from derived classes or
> > from within the assembly", which according to the above is
> > incorrect. Perhaps a more recent version of the language spec
> > contradicts this?
> >
> > On Tue, Apr 08, 2003 at 01:31:44PM -0700, David Jeske wrote:
> > > I see that you are correct. I noticed this in my testing, but I was
> > > confused by it. Now that you point this out, I understand.
> > >
> > > On Tue, Apr 08, 2003 at 11:37:05AM -0700, Piers Haken wrote:
> > > > I think you have "protected internal" mixed up. It doesn't mean what
> > > > it sounds like. It's "protected || internal" as opposed to
> > > > "protected && internal".
> > >
> > > --
> > > David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske@chat.net
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> > --
> > David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske@chat.net
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list