2 Copyright (C) 2009 Jeroen Frijters
4 This software is provided 'as-is', without any express or implied
5 warranty. In no event will the authors be held liable for any damages
6 arising from the use of this software.
8 Permission is granted to anyone to use this software for any purpose,
9 including commercial applications, and to alter it and redistribute it
10 freely, subject to the following restrictions:
12 1. The origin of this software must not be misrepresented; you must not
13 claim that you wrote the original software. If you use this software
14 in a product, an acknowledgment in the product documentation would be
15 appreciated but is not required.
16 2. Altered source versions must be plainly marked as such, and must not be
17 misrepresented as being the original software.
18 3. This notice may not be removed or altered from any source distribution.
26 namespace IKVM.Reflection
29 public enum AssemblyNameFlags
34 EnableJITcompileOptimizer = 16384,
35 EnableJITcompileTracking = 32768,
39 public enum BindingFlags
47 FlattenHierarchy = 64,
51 public enum CallingConventions
61 public enum EventAttributes
70 public enum FieldAttributes
87 HasFieldMarshal = 4096,
94 public enum GenericParameterAttributes
100 ReferenceTypeConstraint = 4,
101 NotNullableValueTypeConstraint = 8,
102 DefaultConstructorConstraint = 16,
103 SpecialConstraintMask = 28,
106 public enum ImageFileMachine
114 public enum MemberTypes
124 All = Constructor | Event | Field | Method | Property | TypeInfo | NestedType
128 public enum MethodAttributes
130 MemberAccessMask = 0x0007,
131 PrivateScope = 0x0000,
133 FamANDAssem = 0x0002,
142 VtableLayoutMask = 0x0100,
145 CheckAccessOnOverride = 0x0200,
147 SpecialName = 0x0800,
149 PinvokeImpl = 0x2000,
150 UnmanagedExport = 0x0008,
152 RTSpecialName = 0x1000,
153 HasSecurity = 0x4000,
154 RequireSecObject = 0x8000,
156 ReservedMask = 0xd000,
160 public enum MethodImplAttributes
162 CodeTypeMask = 0x0003,
167 ManagedMask = 0x0004,
172 PreserveSig = 0x0080,
173 InternalCall = 0x1000,
174 Synchronized = 0x0020,
176 NoOptimization = 0x0040,
178 MaxMethodImplVal = 0xffff,
182 public enum ParameterAttributes
191 HasFieldMarshal = 8192,
194 ReservedMask = 61440,
198 public enum PortableExecutableKinds
200 NotAPortableExecutableImage = 0,
207 public enum ProcessorArchitecture
217 public enum PropertyAttributes
221 RTSpecialName = 1024,
226 public enum ResourceAttributes
232 public enum ResourceLocation
235 ContainedInAnotherAssembly = 2,
236 ContainedInManifestFile = 4,
240 public enum TypeAttributes
251 NestedFamANDAssem = 6,
253 NestedFamORAssem = 7,
254 SequentialLayout = 8,
257 ClassSemanticsMask = 32,
262 RTSpecialName = 2048,
265 UnicodeClass = 65536,
267 CustomFormatClass = 196608,
268 StringFormatMask = 196608,
269 HasSecurity = 262144,
270 ReservedMask = 264192,
271 BeforeFieldInit = 1048576,
272 CustomFormatMask = 12582912,