blob: 95c41022f178dcf8a4542d6779f06ce839a291b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
// MemberTypes is an bit mask marking each type of Member that is defined as
//
// a subclass of MemberInfo. These are returned by MemberInfo.MemberType and
// are useful in switch statements.
//
//
namespace System.Reflection {
using System;
// This Enum matchs the CorTypeAttr defined in CorHdr.h
[Serializable]
[Flags()]
public enum MemberTypes
{
// The following are the known classes which extend MemberInfo
Constructor = 0x01,
Event = 0x02,
Field = 0x04,
Method = 0x08,
Property = 0x10,
TypeInfo = 0x20,
Custom = 0x40,
NestedType = 0x80,
All = Constructor | Event | Field | Method | Property | TypeInfo | NestedType,
}
}
|