PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Mono.Cecil/NativeType.cs

http://github.com/jbevain/cecil
C# | 55 lines | 41 code | 4 blank | 10 comment | 0 complexity | 820f33801fa3b77576797bc5eba5a8cd MD5 | raw file
 1//
 2// Author:
 3//   Jb Evain (jbevain@gmail.com)
 4//
 5// Copyright (c) 2008 - 2015 Jb Evain
 6// Copyright (c) 2008 - 2011 Novell, Inc.
 7//
 8// Licensed under the MIT/X11 license.
 9//
10
11namespace Mono.Cecil {
12
13	public enum NativeType {
14		None = 0x66,
15
16		Boolean = 0x02,
17		I1 = 0x03,
18		U1 = 0x04,
19		I2 = 0x05,
20		U2 = 0x06,
21		I4 = 0x07,
22		U4 = 0x08,
23		I8 = 0x09,
24		U8 = 0x0a,
25		R4 = 0x0b,
26		R8 = 0x0c,
27		LPStr = 0x14,
28		Int = 0x1f,
29		UInt = 0x20,
30		Func = 0x26,
31		Array = 0x2a,
32
33		// Msft specific
34		Currency = 0x0f,
35		BStr = 0x13,
36		LPWStr = 0x15,
37		LPTStr = 0x16,
38		FixedSysString = 0x17,
39		IUnknown = 0x19,
40		IDispatch = 0x1a,
41		Struct = 0x1b,
42		IntF = 0x1c,
43		SafeArray = 0x1d,
44		FixedArray = 0x1e,
45		ByValStr = 0x22,
46		ANSIBStr = 0x23,
47		TBStr = 0x24,
48		VariantBool = 0x25,
49		ASAny = 0x28,
50		LPStruct = 0x2b,
51		CustomMarshaler = 0x2c,
52		Error = 0x2d,
53		Max = 0x50
54	}
55}