Both the C# Reference and the C# Specification state OR.
The following is an excerpt from the Common Type System, which defines the
rules the IL/Metadata must abide by under the managed environment:
The accessibility domain of a nested member M declared in a type T within a
program P is defined as follows (noting that M might itself be a type):
a.. If the declared accessibility of M is protected internal, the
accessibility domain of M is the intersection of the accessibility domain of
T with the program text of P and the program text of any type derived from T
declared outside P.
-Rob Teixeira [MVP]
"Pete" <an*******@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
Hello,
Can anyone provide advice/links on somewhere to get a definitive
explanation with Examples of how "protected internal" differs from
"protected", "internal" and the other access modifiers.
For "protected internal" some places appear to say it means a union of
protected AND internal, other places say it's protected OR internal.
Thanks,
Pete