Revert broken changes.
[mono.git] / mcs / class / corlib / System.Reflection.Emit / FlowControl.cs
1 // FlowControl.cs
2 //
3 // (C) 2001 Ximian, Inc.  http://www.ximian.com
4
5
6
7 namespace System.Reflection.Emit {
8
9         /// <summary>
10         ///  Describes how an instruction alters the flow of control.
11         /// </summary>
12         public enum FlowControl {
13
14                 /// <summary>
15                 /// Branch instruction (ex: br, leave).
16                 /// </summary>
17                 Branch = 0,
18
19                 /// <summary>
20                 ///  Break instruction (ex: break).
21                 /// </summary>
22                 Break = 1,
23
24                 /// <summary>
25                 ///  Call instruction (ex: jmp, call, callvirt).
26                 /// </summary>
27                 Call = 2,
28
29                 /// <summary>
30                 ///  Conditional branch instruction (ex: brtrue, brfalse).
31                 /// </summary>
32                 Cond_Branch = 3,
33
34                 /// <summary>
35                 ///  Changes the behaviour of or provides additional
36                 ///  about a subsequent instruction. 
37                 ///  (ex: prefixes such as volatile, unaligned).
38                 /// </summary>
39                 Meta = 4,
40
41                 /// <summary>
42                 ///  Transition to the next instruction.
43                 /// </summary>
44                 Next = 5,
45
46                 /// <summary>
47                 ///  Annotation for ann.phi instruction.
48                 /// </summary>
49                 Phi = 6,
50
51                 /// <summary>
52                 ///  Return instruction.
53                 /// </summary>
54                 Return = 7,
55
56                 /// <summary>
57                 ///  Throw instruction.
58                 /// </summary>
59                 Throw = 8
60         }
61
62 }
63