~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ikvm/reflect/Emit/Enums.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (C) 2008 Jeroen Frijters
 
3
 
 
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.
 
7
 
 
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:
 
11
 
 
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.
 
19
 
 
20
  Jeroen Frijters
 
21
  jeroen@frijters.net
 
22
  
 
23
*/
 
24
 
 
25
namespace IKVM.Reflection.Emit
 
26
{
 
27
        public enum AssemblyBuilderAccess
 
28
        {
 
29
                Save = 2,
 
30
                ReflectionOnly = 6,
 
31
        }
 
32
 
 
33
        public enum OpCodeType
 
34
        {
 
35
                Annotation = 0,
 
36
                Macro = 1,
 
37
                Nternal = 2,
 
38
                Objmodel = 3,
 
39
                Prefix = 4,
 
40
                Primitive = 5,
 
41
        }
 
42
        
 
43
        public enum OperandType
 
44
        {
 
45
                InlineBrTarget = 0,
 
46
                InlineField = 1,
 
47
                InlineI = 2,
 
48
                InlineI8 = 3,
 
49
                InlineMethod = 4,
 
50
                InlineNone = 5,
 
51
                InlinePhi = 6,
 
52
                InlineR = 7,
 
53
                InlineSig = 9,
 
54
                InlineString = 10,
 
55
                InlineSwitch = 11,
 
56
                InlineTok = 12,
 
57
                InlineType = 13,
 
58
                InlineVar = 14,
 
59
                ShortInlineBrTarget = 15,
 
60
                ShortInlineI = 16,
 
61
                ShortInlineR = 17,
 
62
                ShortInlineVar = 18,
 
63
        }
 
64
 
 
65
        public enum FlowControl
 
66
        {
 
67
                Branch = 0,
 
68
                Break = 1,
 
69
                Call = 2,
 
70
                Cond_Branch = 3,
 
71
                Meta = 4,
 
72
                Next = 5,
 
73
                Return = 7,
 
74
                Throw = 8,
 
75
        }
 
76
 
 
77
        public enum PackingSize
 
78
        {
 
79
                Unspecified = 0,
 
80
                Size1 = 1,
 
81
                Size2 = 2,
 
82
                Size4 = 4,
 
83
                Size8 = 8,
 
84
                Size16 = 16,
 
85
                Size32 = 32,
 
86
                Size64 = 64,
 
87
                Size128 = 128,
 
88
        }
 
89
 
 
90
        public enum PEFileKinds
 
91
        {
 
92
                Dll = 1,
 
93
                ConsoleApplication = 2,
 
94
                WindowApplication = 3,
 
95
        }
 
96
 
 
97
        public enum StackBehaviour
 
98
        {
 
99
                Pop0 = 0,
 
100
                Pop1 = 1,
 
101
                Pop1_pop1 = 2,
 
102
                Popi = 3,
 
103
                Popi_pop1 = 4,
 
104
                Popi_popi = 5,
 
105
                Popi_popi8 = 6,
 
106
                Popi_popi_popi = 7,
 
107
                Popi_popr4 = 8,
 
108
                Popi_popr8 = 9,
 
109
                Popref = 10,
 
110
                Popref_pop1 = 11,
 
111
                Popref_popi = 12,
 
112
                Popref_popi_popi = 13,
 
113
                Popref_popi_popi8 = 14,
 
114
                Popref_popi_popr4 = 15,
 
115
                Popref_popi_popr8 = 16,
 
116
                Popref_popi_popref = 17,
 
117
                Push0 = 18,
 
118
                Push1 = 19,
 
119
                Push1_push1 = 20,
 
120
                Pushi = 21,
 
121
                Pushi8 = 22,
 
122
                Pushr4 = 23,
 
123
                Pushr8 = 24,
 
124
                Pushref = 25,
 
125
                Varpop = 26,
 
126
                Varpush = 27,
 
127
                Popref_popi_pop1 = 28,
 
128
        }
 
129
}