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

David Jeske jeske@chat.net
Tue, 8 Apr 2003 22:28:04 -0700


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