C
Carlos J. Quintero
Hi,
As you know the current keywords "protected internal" (C#) or "Protected
Friend" (VB.Net) means "Protected Or internal" (C#) or "Protected Or Friend"
(VB.Net), that is, the member is accesible from whichever types inside the
assembly or from derived classes included those outside the assembly.
The IL has a provision for the "family AND assembly" accesibility level,
that is, a member is accesible from derived classes belonging to the
assembly, but not from derived classes outside it. But it seems that neither
VB.Net not C# have keywords for it, only for the IL "family OR assembly"
accesibility level. Can someone (maybe from MS) tell if there are plans for
them in future versions of those .Net languages?
Thanks in advance
Carlos Quintero
As you know the current keywords "protected internal" (C#) or "Protected
Friend" (VB.Net) means "Protected Or internal" (C#) or "Protected Or Friend"
(VB.Net), that is, the member is accesible from whichever types inside the
assembly or from derived classes included those outside the assembly.
The IL has a provision for the "family AND assembly" accesibility level,
that is, a member is accesible from derived classes belonging to the
assembly, but not from derived classes outside it. But it seems that neither
VB.Net not C# have keywords for it, only for the IL "family OR assembly"
accesibility level. Can someone (maybe from MS) tell if there are plans for
them in future versions of those .Net languages?
Thanks in advance
Carlos Quintero