|
@@ -1466,13 +1466,8 @@ namespace System.Reflection
|
|
{
|
|
{
|
|
// member access mask - Use this mask to retrieve accessibility information.
|
|
// member access mask - Use this mask to retrieve accessibility information.
|
|
FieldAccessMask = 0x0007,
|
|
FieldAccessMask = 0x0007,
|
|
- PrivateScope = 0x0000, // Member not referenceable.
|
|
|
|
- Private = 0x0001, // Accessible only by the parent type.
|
|
|
|
- FamAndProject = 0x0002, // Accessible by sub-types only in this Assembly.
|
|
|
|
- Project = 0x0003, // Accessibly by anyone in the Assembly.
|
|
|
|
- Family = 0x0004, // Accessible only by type and sub-types.
|
|
|
|
- FamOrProject = 0x0005, // Accessibly by sub-types anywhere, plus anyone in assembly.
|
|
|
|
- Public = 0x0006, // Accessibly by anyone who has visibility to this scope.
|
|
|
|
|
|
+ Protected = 0x0003,
|
|
|
|
+ Public = 0x0006,
|
|
// end member access mask
|
|
// end member access mask
|
|
|
|
|
|
// field contract attributes.
|
|
// field contract attributes.
|
|
@@ -1487,15 +1482,9 @@ namespace System.Reflection
|
|
|
|
|
|
public enum MethodFlags : uint16
|
|
public enum MethodFlags : uint16
|
|
{
|
|
{
|
|
- MethodAccessMask = 0x0007,
|
|
|
|
- PrivateScope = 0x0000, // Member not referenceable.
|
|
|
|
- Private = 0x0001, // Accessible only by the parent type.
|
|
|
|
- FamANDAssem = 0x0002, // Accessible by sub-types only in this Assembly.
|
|
|
|
- Assembly = 0x0003, // Accessibly by anyone in the Assembly.
|
|
|
|
- Family = 0x0004, // Accessible only by type and sub-types.
|
|
|
|
- FamORAssem = 0x0005, // Accessibly by sub-types anywhere, plus anyone in assembly.
|
|
|
|
- Public = 0x0006, // Accessibly by anyone who has visibility to this scope.
|
|
|
|
- // end member access mask
|
|
|
|
|
|
+ MethodAccessMask = 0x0007,
|
|
|
|
+ Protected = 0x0003,
|
|
|
|
+ Public = 0x0006,
|
|
|
|
|
|
// method contract attributes.
|
|
// method contract attributes.
|
|
Static = 0x0010, // Defined on type, else per instance.
|
|
Static = 0x0010, // Defined on type, else per instance.
|