~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to contrib/Mono.Cecil/Mono.Cecil/Mono.Cecil/NativeType.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
// Author:
5
5
//   Jb Evain (jbevain@gmail.com)
6
6
//
7
 
// (C) 2005 Jb Evain
 
7
// Copyright (c) 2008 - 2010 Jb Evain
8
8
//
9
9
// Permission is hereby granted, free of charge, to any person obtaining
10
10
// a copy of this software and associated documentation files (the
29
29
namespace Mono.Cecil {
30
30
 
31
31
        public enum NativeType {
32
 
                NONE = 0x66,
 
32
                None = 0x66,
33
33
 
34
 
                BOOLEAN = 0x02,
 
34
                Boolean = 0x02,
35
35
                I1 = 0x03,
36
36
                U1 = 0x04,
37
37
                I2 = 0x05,
42
42
                U8 = 0x0a,
43
43
                R4 = 0x0b,
44
44
                R8 = 0x0c,
45
 
                LPSTR = 0x14,
46
 
                INT = 0x1f,
47
 
                UINT = 0x20,
48
 
                FUNC = 0x26,
49
 
                ARRAY = 0x2a,
 
45
                LPStr = 0x14,
 
46
                Int = 0x1f,
 
47
                UInt = 0x20,
 
48
                Func = 0x26,
 
49
                Array = 0x2a,
50
50
 
51
51
                // Msft specific
52
 
                CURRENCY = 0x0f,
53
 
                BSTR = 0x13,
54
 
                LPWSTR = 0x15,
55
 
                LPTSTR = 0x16,
56
 
                FIXEDSYSSTRING = 0x17,
57
 
                IUNKNOWN = 0x19,
58
 
                IDISPATCH = 0x1a,
59
 
                STRUCT = 0x1b,
60
 
                INTF = 0x1c,
61
 
                SAFEARRAY = 0x1d,
62
 
                FIXEDARRAY = 0x1e,
63
 
                BYVALSTR = 0x22,
64
 
                ANSIBSTR = 0x23,
65
 
                TBSTR = 0x24,
66
 
                VARIANTBOOL = 0x25,
67
 
                ASANY = 0x28,
68
 
                LPSTRUCT = 0x2b,
69
 
                CUSTOMMARSHALER = 0x2c,
70
 
                ERROR = 0x2d,
71
 
                MAX = 0x50
 
52
                Currency = 0x0f,
 
53
                BStr = 0x13,
 
54
                LPWStr = 0x15,
 
55
                LPTStr = 0x16,
 
56
                FixedSysString = 0x17,
 
57
                IUnknown = 0x19,
 
58
                IDispatch = 0x1a,
 
59
                Struct = 0x1b,
 
60
                IntF = 0x1c,
 
61
                SafeArray = 0x1d,
 
62
                FixedArray = 0x1e,
 
63
                ByValStr = 0x22,
 
64
                ANSIBStr = 0x23,
 
65
                TBStr = 0x24,
 
66
                VariantBool = 0x25,
 
67
                ASAny = 0x28,
 
68
                LPStruct = 0x2b,
 
69
                CustomMarshaler = 0x2c,
 
70
                Error = 0x2d,
 
71
                Max = 0x50
72
72
        }
73
73
}