Initial check-in.
[mono.git] / mcs / class / corlib / System.Reflection.Emit / OpCodeType.cs
1 // OpCodeType.cs
2 //
3 // (C) 2001 Ximian, Inc.  http://www.ximian.com
4
5
6 namespace System.Reflection.Emit {
7
8         /// <summary>
9         ///  Describes the types of MSIL instructions.
10         /// </summary>
11         public enum OpCodeType {
12
13                 /// <summary>
14                 ///  "Ignorable" instruction.
15                 ///  Such instruction are used to supply
16                 ///  additional information to particular
17                 ///  MSIL processor.
18                 /// </summary>
19                 Annotation = 0,
20
21                 /// <summary>
22                 ///  Denotes "shorthand" instruction.
23                 ///  Such instructions take less space
24                 ///  than their full-size equivalents
25                 ///  (ex. ldarg.0 vs. ldarg 0).
26                 /// </summary>
27                 Macro = 1,
28
29                 /// <summary>
30                 ///  Denotes instruction reserved for internal use.
31                 /// </summary>
32                 Nternal = 2,
33
34                 /// <summary>
35                 ///  Denotes instruction to deal with objects.
36                 ///  (ex. ldobj).
37                 /// </summary>
38                 Objmodel = 3,
39
40                 /// <summary>
41                 /// </summary>
42                 Prefix = 4,
43
44                 /// <summary>
45                 /// </summary>
46                 Primitive = 5
47         }
48
49 }