Fix StackChange value for OpCodes.Stelem (dotnet/coreclr#25382)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / Reflection / Emit / OpCodes.cs
blob07c4b1ceb7e0dad9b8e41b293dcad6c2629359aa
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 /*============================================================
6 **
7 ** Class: OpCodes
8 **
9 ** Purpose: Exposes all of the IL instructions supported by the runtime.
11 ** THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT BY HAND!
12 ** See $(RepoRoot)\src\inc\OpCodeGen.pl for more information.**
13 ==============================================================*/
15 namespace System.Reflection.Emit
18 // Internal enums for opcode values. Note that the value names are used to construct
19 // publicly visible ilasm-compatible opcode names, so their exact form is important!
21 internal enum OpCodeValues
23 Nop = 0x00,
24 Break = 0x01,
25 Ldarg_0 = 0x02,
26 Ldarg_1 = 0x03,
27 Ldarg_2 = 0x04,
28 Ldarg_3 = 0x05,
29 Ldloc_0 = 0x06,
30 Ldloc_1 = 0x07,
31 Ldloc_2 = 0x08,
32 Ldloc_3 = 0x09,
33 Stloc_0 = 0x0a,
34 Stloc_1 = 0x0b,
35 Stloc_2 = 0x0c,
36 Stloc_3 = 0x0d,
37 Ldarg_S = 0x0e,
38 Ldarga_S = 0x0f,
39 Starg_S = 0x10,
40 Ldloc_S = 0x11,
41 Ldloca_S = 0x12,
42 Stloc_S = 0x13,
43 Ldnull = 0x14,
44 Ldc_I4_M1 = 0x15,
45 Ldc_I4_0 = 0x16,
46 Ldc_I4_1 = 0x17,
47 Ldc_I4_2 = 0x18,
48 Ldc_I4_3 = 0x19,
49 Ldc_I4_4 = 0x1a,
50 Ldc_I4_5 = 0x1b,
51 Ldc_I4_6 = 0x1c,
52 Ldc_I4_7 = 0x1d,
53 Ldc_I4_8 = 0x1e,
54 Ldc_I4_S = 0x1f,
55 Ldc_I4 = 0x20,
56 Ldc_I8 = 0x21,
57 Ldc_R4 = 0x22,
58 Ldc_R8 = 0x23,
59 Dup = 0x25,
60 Pop = 0x26,
61 Jmp = 0x27,
62 Call = 0x28,
63 Calli = 0x29,
64 Ret = 0x2a,
65 Br_S = 0x2b,
66 Brfalse_S = 0x2c,
67 Brtrue_S = 0x2d,
68 Beq_S = 0x2e,
69 Bge_S = 0x2f,
70 Bgt_S = 0x30,
71 Ble_S = 0x31,
72 Blt_S = 0x32,
73 Bne_Un_S = 0x33,
74 Bge_Un_S = 0x34,
75 Bgt_Un_S = 0x35,
76 Ble_Un_S = 0x36,
77 Blt_Un_S = 0x37,
78 Br = 0x38,
79 Brfalse = 0x39,
80 Brtrue = 0x3a,
81 Beq = 0x3b,
82 Bge = 0x3c,
83 Bgt = 0x3d,
84 Ble = 0x3e,
85 Blt = 0x3f,
86 Bne_Un = 0x40,
87 Bge_Un = 0x41,
88 Bgt_Un = 0x42,
89 Ble_Un = 0x43,
90 Blt_Un = 0x44,
91 Switch = 0x45,
92 Ldind_I1 = 0x46,
93 Ldind_U1 = 0x47,
94 Ldind_I2 = 0x48,
95 Ldind_U2 = 0x49,
96 Ldind_I4 = 0x4a,
97 Ldind_U4 = 0x4b,
98 Ldind_I8 = 0x4c,
99 Ldind_I = 0x4d,
100 Ldind_R4 = 0x4e,
101 Ldind_R8 = 0x4f,
102 Ldind_Ref = 0x50,
103 Stind_Ref = 0x51,
104 Stind_I1 = 0x52,
105 Stind_I2 = 0x53,
106 Stind_I4 = 0x54,
107 Stind_I8 = 0x55,
108 Stind_R4 = 0x56,
109 Stind_R8 = 0x57,
110 Add = 0x58,
111 Sub = 0x59,
112 Mul = 0x5a,
113 Div = 0x5b,
114 Div_Un = 0x5c,
115 Rem = 0x5d,
116 Rem_Un = 0x5e,
117 And = 0x5f,
118 Or = 0x60,
119 Xor = 0x61,
120 Shl = 0x62,
121 Shr = 0x63,
122 Shr_Un = 0x64,
123 Neg = 0x65,
124 Not = 0x66,
125 Conv_I1 = 0x67,
126 Conv_I2 = 0x68,
127 Conv_I4 = 0x69,
128 Conv_I8 = 0x6a,
129 Conv_R4 = 0x6b,
130 Conv_R8 = 0x6c,
131 Conv_U4 = 0x6d,
132 Conv_U8 = 0x6e,
133 Callvirt = 0x6f,
134 Cpobj = 0x70,
135 Ldobj = 0x71,
136 Ldstr = 0x72,
137 Newobj = 0x73,
138 Castclass = 0x74,
139 Isinst = 0x75,
140 Conv_R_Un = 0x76,
141 Unbox = 0x79,
142 Throw = 0x7a,
143 Ldfld = 0x7b,
144 Ldflda = 0x7c,
145 Stfld = 0x7d,
146 Ldsfld = 0x7e,
147 Ldsflda = 0x7f,
148 Stsfld = 0x80,
149 Stobj = 0x81,
150 Conv_Ovf_I1_Un = 0x82,
151 Conv_Ovf_I2_Un = 0x83,
152 Conv_Ovf_I4_Un = 0x84,
153 Conv_Ovf_I8_Un = 0x85,
154 Conv_Ovf_U1_Un = 0x86,
155 Conv_Ovf_U2_Un = 0x87,
156 Conv_Ovf_U4_Un = 0x88,
157 Conv_Ovf_U8_Un = 0x89,
158 Conv_Ovf_I_Un = 0x8a,
159 Conv_Ovf_U_Un = 0x8b,
160 Box = 0x8c,
161 Newarr = 0x8d,
162 Ldlen = 0x8e,
163 Ldelema = 0x8f,
164 Ldelem_I1 = 0x90,
165 Ldelem_U1 = 0x91,
166 Ldelem_I2 = 0x92,
167 Ldelem_U2 = 0x93,
168 Ldelem_I4 = 0x94,
169 Ldelem_U4 = 0x95,
170 Ldelem_I8 = 0x96,
171 Ldelem_I = 0x97,
172 Ldelem_R4 = 0x98,
173 Ldelem_R8 = 0x99,
174 Ldelem_Ref = 0x9a,
175 Stelem_I = 0x9b,
176 Stelem_I1 = 0x9c,
177 Stelem_I2 = 0x9d,
178 Stelem_I4 = 0x9e,
179 Stelem_I8 = 0x9f,
180 Stelem_R4 = 0xa0,
181 Stelem_R8 = 0xa1,
182 Stelem_Ref = 0xa2,
183 Ldelem = 0xa3,
184 Stelem = 0xa4,
185 Unbox_Any = 0xa5,
186 Conv_Ovf_I1 = 0xb3,
187 Conv_Ovf_U1 = 0xb4,
188 Conv_Ovf_I2 = 0xb5,
189 Conv_Ovf_U2 = 0xb6,
190 Conv_Ovf_I4 = 0xb7,
191 Conv_Ovf_U4 = 0xb8,
192 Conv_Ovf_I8 = 0xb9,
193 Conv_Ovf_U8 = 0xba,
194 Refanyval = 0xc2,
195 Ckfinite = 0xc3,
196 Mkrefany = 0xc6,
197 Ldtoken = 0xd0,
198 Conv_U2 = 0xd1,
199 Conv_U1 = 0xd2,
200 Conv_I = 0xd3,
201 Conv_Ovf_I = 0xd4,
202 Conv_Ovf_U = 0xd5,
203 Add_Ovf = 0xd6,
204 Add_Ovf_Un = 0xd7,
205 Mul_Ovf = 0xd8,
206 Mul_Ovf_Un = 0xd9,
207 Sub_Ovf = 0xda,
208 Sub_Ovf_Un = 0xdb,
209 Endfinally = 0xdc,
210 Leave = 0xdd,
211 Leave_S = 0xde,
212 Stind_I = 0xdf,
213 Conv_U = 0xe0,
214 Prefix7 = 0xf8,
215 Prefix6 = 0xf9,
216 Prefix5 = 0xfa,
217 Prefix4 = 0xfb,
218 Prefix3 = 0xfc,
219 Prefix2 = 0xfd,
220 Prefix1 = 0xfe,
221 Prefixref = 0xff,
222 Arglist = 0xfe00,
223 Ceq = 0xfe01,
224 Cgt = 0xfe02,
225 Cgt_Un = 0xfe03,
226 Clt = 0xfe04,
227 Clt_Un = 0xfe05,
228 Ldftn = 0xfe06,
229 Ldvirtftn = 0xfe07,
230 Ldarg = 0xfe09,
231 Ldarga = 0xfe0a,
232 Starg = 0xfe0b,
233 Ldloc = 0xfe0c,
234 Ldloca = 0xfe0d,
235 Stloc = 0xfe0e,
236 Localloc = 0xfe0f,
237 Endfilter = 0xfe11,
238 Unaligned_ = 0xfe12,
239 Volatile_ = 0xfe13,
240 Tail_ = 0xfe14,
241 Initobj = 0xfe15,
242 Constrained_ = 0xfe16,
243 Cpblk = 0xfe17,
244 Initblk = 0xfe18,
245 Rethrow = 0xfe1a,
246 Sizeof = 0xfe1c,
247 Refanytype = 0xfe1d,
248 Readonly_ = 0xfe1e,
249 // If you add more opcodes here, modify OpCode.Name to handle them correctly
252 /// <summary>
253 /// <para>
254 /// The IL instruction opcodes supported by the
255 /// runtime. The IL Instruction Specification describes each
256 /// Opcode.
257 /// </para>
258 /// </summary>
259 /// <seealso topic='IL Instruction Set Specification'/>
260 public class OpCodes
262 private OpCodes()
266 public static readonly OpCode Nop = new OpCode(OpCodeValues.Nop,
267 ((int)OperandType.InlineNone) |
268 ((int)FlowControl.Next << OpCode.FlowControlShift) |
269 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
270 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
271 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
272 (1 << OpCode.SizeShift) |
273 (0 << OpCode.StackChangeShift)
276 public static readonly OpCode Break = new OpCode(OpCodeValues.Break,
277 ((int)OperandType.InlineNone) |
278 ((int)FlowControl.Break << OpCode.FlowControlShift) |
279 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
280 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
281 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
282 (1 << OpCode.SizeShift) |
283 (0 << OpCode.StackChangeShift)
286 public static readonly OpCode Ldarg_0 = new OpCode(OpCodeValues.Ldarg_0,
287 ((int)OperandType.InlineNone) |
288 ((int)FlowControl.Next << OpCode.FlowControlShift) |
289 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
290 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
291 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
292 (1 << OpCode.SizeShift) |
293 (1 << OpCode.StackChangeShift)
296 public static readonly OpCode Ldarg_1 = new OpCode(OpCodeValues.Ldarg_1,
297 ((int)OperandType.InlineNone) |
298 ((int)FlowControl.Next << OpCode.FlowControlShift) |
299 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
300 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
301 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
302 (1 << OpCode.SizeShift) |
303 (1 << OpCode.StackChangeShift)
306 public static readonly OpCode Ldarg_2 = new OpCode(OpCodeValues.Ldarg_2,
307 ((int)OperandType.InlineNone) |
308 ((int)FlowControl.Next << OpCode.FlowControlShift) |
309 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
310 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
311 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
312 (1 << OpCode.SizeShift) |
313 (1 << OpCode.StackChangeShift)
316 public static readonly OpCode Ldarg_3 = new OpCode(OpCodeValues.Ldarg_3,
317 ((int)OperandType.InlineNone) |
318 ((int)FlowControl.Next << OpCode.FlowControlShift) |
319 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
320 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
321 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
322 (1 << OpCode.SizeShift) |
323 (1 << OpCode.StackChangeShift)
326 public static readonly OpCode Ldloc_0 = new OpCode(OpCodeValues.Ldloc_0,
327 ((int)OperandType.InlineNone) |
328 ((int)FlowControl.Next << OpCode.FlowControlShift) |
329 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
330 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
331 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
332 (1 << OpCode.SizeShift) |
333 (1 << OpCode.StackChangeShift)
336 public static readonly OpCode Ldloc_1 = new OpCode(OpCodeValues.Ldloc_1,
337 ((int)OperandType.InlineNone) |
338 ((int)FlowControl.Next << OpCode.FlowControlShift) |
339 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
340 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
341 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
342 (1 << OpCode.SizeShift) |
343 (1 << OpCode.StackChangeShift)
346 public static readonly OpCode Ldloc_2 = new OpCode(OpCodeValues.Ldloc_2,
347 ((int)OperandType.InlineNone) |
348 ((int)FlowControl.Next << OpCode.FlowControlShift) |
349 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
350 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
351 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
352 (1 << OpCode.SizeShift) |
353 (1 << OpCode.StackChangeShift)
356 public static readonly OpCode Ldloc_3 = new OpCode(OpCodeValues.Ldloc_3,
357 ((int)OperandType.InlineNone) |
358 ((int)FlowControl.Next << OpCode.FlowControlShift) |
359 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
360 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
361 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
362 (1 << OpCode.SizeShift) |
363 (1 << OpCode.StackChangeShift)
366 public static readonly OpCode Stloc_0 = new OpCode(OpCodeValues.Stloc_0,
367 ((int)OperandType.InlineNone) |
368 ((int)FlowControl.Next << OpCode.FlowControlShift) |
369 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
370 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
371 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
372 (1 << OpCode.SizeShift) |
373 (-1 << OpCode.StackChangeShift)
376 public static readonly OpCode Stloc_1 = new OpCode(OpCodeValues.Stloc_1,
377 ((int)OperandType.InlineNone) |
378 ((int)FlowControl.Next << OpCode.FlowControlShift) |
379 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
380 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
381 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
382 (1 << OpCode.SizeShift) |
383 (-1 << OpCode.StackChangeShift)
386 public static readonly OpCode Stloc_2 = new OpCode(OpCodeValues.Stloc_2,
387 ((int)OperandType.InlineNone) |
388 ((int)FlowControl.Next << OpCode.FlowControlShift) |
389 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
390 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
391 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
392 (1 << OpCode.SizeShift) |
393 (-1 << OpCode.StackChangeShift)
396 public static readonly OpCode Stloc_3 = new OpCode(OpCodeValues.Stloc_3,
397 ((int)OperandType.InlineNone) |
398 ((int)FlowControl.Next << OpCode.FlowControlShift) |
399 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
400 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
401 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
402 (1 << OpCode.SizeShift) |
403 (-1 << OpCode.StackChangeShift)
406 public static readonly OpCode Ldarg_S = new OpCode(OpCodeValues.Ldarg_S,
407 ((int)OperandType.ShortInlineVar) |
408 ((int)FlowControl.Next << OpCode.FlowControlShift) |
409 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
410 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
411 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
412 (1 << OpCode.SizeShift) |
413 (1 << OpCode.StackChangeShift)
416 public static readonly OpCode Ldarga_S = new OpCode(OpCodeValues.Ldarga_S,
417 ((int)OperandType.ShortInlineVar) |
418 ((int)FlowControl.Next << OpCode.FlowControlShift) |
419 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
420 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
421 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
422 (1 << OpCode.SizeShift) |
423 (1 << OpCode.StackChangeShift)
426 public static readonly OpCode Starg_S = new OpCode(OpCodeValues.Starg_S,
427 ((int)OperandType.ShortInlineVar) |
428 ((int)FlowControl.Next << OpCode.FlowControlShift) |
429 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
430 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
431 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
432 (1 << OpCode.SizeShift) |
433 (-1 << OpCode.StackChangeShift)
436 public static readonly OpCode Ldloc_S = new OpCode(OpCodeValues.Ldloc_S,
437 ((int)OperandType.ShortInlineVar) |
438 ((int)FlowControl.Next << OpCode.FlowControlShift) |
439 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
440 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
441 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
442 (1 << OpCode.SizeShift) |
443 (1 << OpCode.StackChangeShift)
446 public static readonly OpCode Ldloca_S = new OpCode(OpCodeValues.Ldloca_S,
447 ((int)OperandType.ShortInlineVar) |
448 ((int)FlowControl.Next << OpCode.FlowControlShift) |
449 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
450 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
451 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
452 (1 << OpCode.SizeShift) |
453 (1 << OpCode.StackChangeShift)
456 public static readonly OpCode Stloc_S = new OpCode(OpCodeValues.Stloc_S,
457 ((int)OperandType.ShortInlineVar) |
458 ((int)FlowControl.Next << OpCode.FlowControlShift) |
459 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
460 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
461 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
462 (1 << OpCode.SizeShift) |
463 (-1 << OpCode.StackChangeShift)
466 public static readonly OpCode Ldnull = new OpCode(OpCodeValues.Ldnull,
467 ((int)OperandType.InlineNone) |
468 ((int)FlowControl.Next << OpCode.FlowControlShift) |
469 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
470 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
471 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
472 (1 << OpCode.SizeShift) |
473 (1 << OpCode.StackChangeShift)
476 public static readonly OpCode Ldc_I4_M1 = new OpCode(OpCodeValues.Ldc_I4_M1,
477 ((int)OperandType.InlineNone) |
478 ((int)FlowControl.Next << OpCode.FlowControlShift) |
479 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
480 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
481 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
482 (1 << OpCode.SizeShift) |
483 (1 << OpCode.StackChangeShift)
486 public static readonly OpCode Ldc_I4_0 = new OpCode(OpCodeValues.Ldc_I4_0,
487 ((int)OperandType.InlineNone) |
488 ((int)FlowControl.Next << OpCode.FlowControlShift) |
489 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
490 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
491 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
492 (1 << OpCode.SizeShift) |
493 (1 << OpCode.StackChangeShift)
496 public static readonly OpCode Ldc_I4_1 = new OpCode(OpCodeValues.Ldc_I4_1,
497 ((int)OperandType.InlineNone) |
498 ((int)FlowControl.Next << OpCode.FlowControlShift) |
499 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
500 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
501 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
502 (1 << OpCode.SizeShift) |
503 (1 << OpCode.StackChangeShift)
506 public static readonly OpCode Ldc_I4_2 = new OpCode(OpCodeValues.Ldc_I4_2,
507 ((int)OperandType.InlineNone) |
508 ((int)FlowControl.Next << OpCode.FlowControlShift) |
509 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
510 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
511 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
512 (1 << OpCode.SizeShift) |
513 (1 << OpCode.StackChangeShift)
516 public static readonly OpCode Ldc_I4_3 = new OpCode(OpCodeValues.Ldc_I4_3,
517 ((int)OperandType.InlineNone) |
518 ((int)FlowControl.Next << OpCode.FlowControlShift) |
519 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
520 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
521 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
522 (1 << OpCode.SizeShift) |
523 (1 << OpCode.StackChangeShift)
526 public static readonly OpCode Ldc_I4_4 = new OpCode(OpCodeValues.Ldc_I4_4,
527 ((int)OperandType.InlineNone) |
528 ((int)FlowControl.Next << OpCode.FlowControlShift) |
529 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
530 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
531 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
532 (1 << OpCode.SizeShift) |
533 (1 << OpCode.StackChangeShift)
536 public static readonly OpCode Ldc_I4_5 = new OpCode(OpCodeValues.Ldc_I4_5,
537 ((int)OperandType.InlineNone) |
538 ((int)FlowControl.Next << OpCode.FlowControlShift) |
539 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
540 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
541 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
542 (1 << OpCode.SizeShift) |
543 (1 << OpCode.StackChangeShift)
546 public static readonly OpCode Ldc_I4_6 = new OpCode(OpCodeValues.Ldc_I4_6,
547 ((int)OperandType.InlineNone) |
548 ((int)FlowControl.Next << OpCode.FlowControlShift) |
549 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
550 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
551 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
552 (1 << OpCode.SizeShift) |
553 (1 << OpCode.StackChangeShift)
556 public static readonly OpCode Ldc_I4_7 = new OpCode(OpCodeValues.Ldc_I4_7,
557 ((int)OperandType.InlineNone) |
558 ((int)FlowControl.Next << OpCode.FlowControlShift) |
559 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
560 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
561 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
562 (1 << OpCode.SizeShift) |
563 (1 << OpCode.StackChangeShift)
566 public static readonly OpCode Ldc_I4_8 = new OpCode(OpCodeValues.Ldc_I4_8,
567 ((int)OperandType.InlineNone) |
568 ((int)FlowControl.Next << OpCode.FlowControlShift) |
569 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
570 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
571 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
572 (1 << OpCode.SizeShift) |
573 (1 << OpCode.StackChangeShift)
576 public static readonly OpCode Ldc_I4_S = new OpCode(OpCodeValues.Ldc_I4_S,
577 ((int)OperandType.ShortInlineI) |
578 ((int)FlowControl.Next << OpCode.FlowControlShift) |
579 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
580 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
581 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
582 (1 << OpCode.SizeShift) |
583 (1 << OpCode.StackChangeShift)
586 public static readonly OpCode Ldc_I4 = new OpCode(OpCodeValues.Ldc_I4,
587 ((int)OperandType.InlineI) |
588 ((int)FlowControl.Next << OpCode.FlowControlShift) |
589 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
590 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
591 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
592 (1 << OpCode.SizeShift) |
593 (1 << OpCode.StackChangeShift)
596 public static readonly OpCode Ldc_I8 = new OpCode(OpCodeValues.Ldc_I8,
597 ((int)OperandType.InlineI8) |
598 ((int)FlowControl.Next << OpCode.FlowControlShift) |
599 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
600 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
601 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
602 (1 << OpCode.SizeShift) |
603 (1 << OpCode.StackChangeShift)
606 public static readonly OpCode Ldc_R4 = new OpCode(OpCodeValues.Ldc_R4,
607 ((int)OperandType.ShortInlineR) |
608 ((int)FlowControl.Next << OpCode.FlowControlShift) |
609 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
610 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
611 ((int)StackBehaviour.Pushr4 << OpCode.StackBehaviourPushShift) |
612 (1 << OpCode.SizeShift) |
613 (1 << OpCode.StackChangeShift)
616 public static readonly OpCode Ldc_R8 = new OpCode(OpCodeValues.Ldc_R8,
617 ((int)OperandType.InlineR) |
618 ((int)FlowControl.Next << OpCode.FlowControlShift) |
619 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
620 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
621 ((int)StackBehaviour.Pushr8 << OpCode.StackBehaviourPushShift) |
622 (1 << OpCode.SizeShift) |
623 (1 << OpCode.StackChangeShift)
626 public static readonly OpCode Dup = new OpCode(OpCodeValues.Dup,
627 ((int)OperandType.InlineNone) |
628 ((int)FlowControl.Next << OpCode.FlowControlShift) |
629 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
630 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
631 ((int)StackBehaviour.Push1_push1 << OpCode.StackBehaviourPushShift) |
632 (1 << OpCode.SizeShift) |
633 (1 << OpCode.StackChangeShift)
636 public static readonly OpCode Pop = new OpCode(OpCodeValues.Pop,
637 ((int)OperandType.InlineNone) |
638 ((int)FlowControl.Next << OpCode.FlowControlShift) |
639 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
640 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
641 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
642 (1 << OpCode.SizeShift) |
643 (-1 << OpCode.StackChangeShift)
646 public static readonly OpCode Jmp = new OpCode(OpCodeValues.Jmp,
647 ((int)OperandType.InlineMethod) |
648 ((int)FlowControl.Call << OpCode.FlowControlShift) |
649 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
650 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
651 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
652 (1 << OpCode.SizeShift) |
653 OpCode.EndsUncondJmpBlkFlag |
654 (0 << OpCode.StackChangeShift)
657 public static readonly OpCode Call = new OpCode(OpCodeValues.Call,
658 ((int)OperandType.InlineMethod) |
659 ((int)FlowControl.Call << OpCode.FlowControlShift) |
660 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
661 ((int)StackBehaviour.Varpop << OpCode.StackBehaviourPopShift) |
662 ((int)StackBehaviour.Varpush << OpCode.StackBehaviourPushShift) |
663 (1 << OpCode.SizeShift) |
664 (0 << OpCode.StackChangeShift)
667 public static readonly OpCode Calli = new OpCode(OpCodeValues.Calli,
668 ((int)OperandType.InlineSig) |
669 ((int)FlowControl.Call << OpCode.FlowControlShift) |
670 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
671 ((int)StackBehaviour.Varpop << OpCode.StackBehaviourPopShift) |
672 ((int)StackBehaviour.Varpush << OpCode.StackBehaviourPushShift) |
673 (1 << OpCode.SizeShift) |
674 (0 << OpCode.StackChangeShift)
677 public static readonly OpCode Ret = new OpCode(OpCodeValues.Ret,
678 ((int)OperandType.InlineNone) |
679 ((int)FlowControl.Return << OpCode.FlowControlShift) |
680 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
681 ((int)StackBehaviour.Varpop << OpCode.StackBehaviourPopShift) |
682 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
683 (1 << OpCode.SizeShift) |
684 OpCode.EndsUncondJmpBlkFlag |
685 (0 << OpCode.StackChangeShift)
688 public static readonly OpCode Br_S = new OpCode(OpCodeValues.Br_S,
689 ((int)OperandType.ShortInlineBrTarget) |
690 ((int)FlowControl.Branch << OpCode.FlowControlShift) |
691 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
692 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
693 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
694 (1 << OpCode.SizeShift) |
695 OpCode.EndsUncondJmpBlkFlag |
696 (0 << OpCode.StackChangeShift)
699 public static readonly OpCode Brfalse_S = new OpCode(OpCodeValues.Brfalse_S,
700 ((int)OperandType.ShortInlineBrTarget) |
701 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
702 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
703 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
704 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
705 (1 << OpCode.SizeShift) |
706 (-1 << OpCode.StackChangeShift)
709 public static readonly OpCode Brtrue_S = new OpCode(OpCodeValues.Brtrue_S,
710 ((int)OperandType.ShortInlineBrTarget) |
711 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
712 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
713 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
714 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
715 (1 << OpCode.SizeShift) |
716 (-1 << OpCode.StackChangeShift)
719 public static readonly OpCode Beq_S = new OpCode(OpCodeValues.Beq_S,
720 ((int)OperandType.ShortInlineBrTarget) |
721 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
722 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
723 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
724 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
725 (1 << OpCode.SizeShift) |
726 (-2 << OpCode.StackChangeShift)
729 public static readonly OpCode Bge_S = new OpCode(OpCodeValues.Bge_S,
730 ((int)OperandType.ShortInlineBrTarget) |
731 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
732 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
733 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
734 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
735 (1 << OpCode.SizeShift) |
736 (-2 << OpCode.StackChangeShift)
739 public static readonly OpCode Bgt_S = new OpCode(OpCodeValues.Bgt_S,
740 ((int)OperandType.ShortInlineBrTarget) |
741 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
742 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
743 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
744 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
745 (1 << OpCode.SizeShift) |
746 (-2 << OpCode.StackChangeShift)
749 public static readonly OpCode Ble_S = new OpCode(OpCodeValues.Ble_S,
750 ((int)OperandType.ShortInlineBrTarget) |
751 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
752 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
753 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
754 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
755 (1 << OpCode.SizeShift) |
756 (-2 << OpCode.StackChangeShift)
759 public static readonly OpCode Blt_S = new OpCode(OpCodeValues.Blt_S,
760 ((int)OperandType.ShortInlineBrTarget) |
761 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
762 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
763 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
764 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
765 (1 << OpCode.SizeShift) |
766 (-2 << OpCode.StackChangeShift)
769 public static readonly OpCode Bne_Un_S = new OpCode(OpCodeValues.Bne_Un_S,
770 ((int)OperandType.ShortInlineBrTarget) |
771 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
772 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
773 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
774 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
775 (1 << OpCode.SizeShift) |
776 (-2 << OpCode.StackChangeShift)
779 public static readonly OpCode Bge_Un_S = new OpCode(OpCodeValues.Bge_Un_S,
780 ((int)OperandType.ShortInlineBrTarget) |
781 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
782 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
783 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
784 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
785 (1 << OpCode.SizeShift) |
786 (-2 << OpCode.StackChangeShift)
789 public static readonly OpCode Bgt_Un_S = new OpCode(OpCodeValues.Bgt_Un_S,
790 ((int)OperandType.ShortInlineBrTarget) |
791 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
792 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
793 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
794 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
795 (1 << OpCode.SizeShift) |
796 (-2 << OpCode.StackChangeShift)
799 public static readonly OpCode Ble_Un_S = new OpCode(OpCodeValues.Ble_Un_S,
800 ((int)OperandType.ShortInlineBrTarget) |
801 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
802 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
803 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
804 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
805 (1 << OpCode.SizeShift) |
806 (-2 << OpCode.StackChangeShift)
809 public static readonly OpCode Blt_Un_S = new OpCode(OpCodeValues.Blt_Un_S,
810 ((int)OperandType.ShortInlineBrTarget) |
811 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
812 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
813 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
814 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
815 (1 << OpCode.SizeShift) |
816 (-2 << OpCode.StackChangeShift)
819 public static readonly OpCode Br = new OpCode(OpCodeValues.Br,
820 ((int)OperandType.InlineBrTarget) |
821 ((int)FlowControl.Branch << OpCode.FlowControlShift) |
822 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
823 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
824 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
825 (1 << OpCode.SizeShift) |
826 OpCode.EndsUncondJmpBlkFlag |
827 (0 << OpCode.StackChangeShift)
830 public static readonly OpCode Brfalse = new OpCode(OpCodeValues.Brfalse,
831 ((int)OperandType.InlineBrTarget) |
832 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
833 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
834 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
835 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
836 (1 << OpCode.SizeShift) |
837 (-1 << OpCode.StackChangeShift)
840 public static readonly OpCode Brtrue = new OpCode(OpCodeValues.Brtrue,
841 ((int)OperandType.InlineBrTarget) |
842 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
843 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
844 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
845 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
846 (1 << OpCode.SizeShift) |
847 (-1 << OpCode.StackChangeShift)
850 public static readonly OpCode Beq = new OpCode(OpCodeValues.Beq,
851 ((int)OperandType.InlineBrTarget) |
852 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
853 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
854 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
855 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
856 (1 << OpCode.SizeShift) |
857 (-2 << OpCode.StackChangeShift)
860 public static readonly OpCode Bge = new OpCode(OpCodeValues.Bge,
861 ((int)OperandType.InlineBrTarget) |
862 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
863 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
864 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
865 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
866 (1 << OpCode.SizeShift) |
867 (-2 << OpCode.StackChangeShift)
870 public static readonly OpCode Bgt = new OpCode(OpCodeValues.Bgt,
871 ((int)OperandType.InlineBrTarget) |
872 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
873 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
874 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
875 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
876 (1 << OpCode.SizeShift) |
877 (-2 << OpCode.StackChangeShift)
880 public static readonly OpCode Ble = new OpCode(OpCodeValues.Ble,
881 ((int)OperandType.InlineBrTarget) |
882 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
883 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
884 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
885 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
886 (1 << OpCode.SizeShift) |
887 (-2 << OpCode.StackChangeShift)
890 public static readonly OpCode Blt = new OpCode(OpCodeValues.Blt,
891 ((int)OperandType.InlineBrTarget) |
892 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
893 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
894 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
895 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
896 (1 << OpCode.SizeShift) |
897 (-2 << OpCode.StackChangeShift)
900 public static readonly OpCode Bne_Un = new OpCode(OpCodeValues.Bne_Un,
901 ((int)OperandType.InlineBrTarget) |
902 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
903 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
904 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
905 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
906 (1 << OpCode.SizeShift) |
907 (-2 << OpCode.StackChangeShift)
910 public static readonly OpCode Bge_Un = new OpCode(OpCodeValues.Bge_Un,
911 ((int)OperandType.InlineBrTarget) |
912 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
913 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
914 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
915 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
916 (1 << OpCode.SizeShift) |
917 (-2 << OpCode.StackChangeShift)
920 public static readonly OpCode Bgt_Un = new OpCode(OpCodeValues.Bgt_Un,
921 ((int)OperandType.InlineBrTarget) |
922 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
923 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
924 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
925 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
926 (1 << OpCode.SizeShift) |
927 (-2 << OpCode.StackChangeShift)
930 public static readonly OpCode Ble_Un = new OpCode(OpCodeValues.Ble_Un,
931 ((int)OperandType.InlineBrTarget) |
932 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
933 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
934 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
935 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
936 (1 << OpCode.SizeShift) |
937 (-2 << OpCode.StackChangeShift)
940 public static readonly OpCode Blt_Un = new OpCode(OpCodeValues.Blt_Un,
941 ((int)OperandType.InlineBrTarget) |
942 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
943 ((int)OpCodeType.Macro << OpCode.OpCodeTypeShift) |
944 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
945 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
946 (1 << OpCode.SizeShift) |
947 (-2 << OpCode.StackChangeShift)
950 public static readonly OpCode Switch = new OpCode(OpCodeValues.Switch,
951 ((int)OperandType.InlineSwitch) |
952 ((int)FlowControl.Cond_Branch << OpCode.FlowControlShift) |
953 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
954 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
955 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
956 (1 << OpCode.SizeShift) |
957 (-1 << OpCode.StackChangeShift)
960 public static readonly OpCode Ldind_I1 = new OpCode(OpCodeValues.Ldind_I1,
961 ((int)OperandType.InlineNone) |
962 ((int)FlowControl.Next << OpCode.FlowControlShift) |
963 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
964 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
965 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
966 (1 << OpCode.SizeShift) |
967 (0 << OpCode.StackChangeShift)
970 public static readonly OpCode Ldind_U1 = new OpCode(OpCodeValues.Ldind_U1,
971 ((int)OperandType.InlineNone) |
972 ((int)FlowControl.Next << OpCode.FlowControlShift) |
973 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
974 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
975 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
976 (1 << OpCode.SizeShift) |
977 (0 << OpCode.StackChangeShift)
980 public static readonly OpCode Ldind_I2 = new OpCode(OpCodeValues.Ldind_I2,
981 ((int)OperandType.InlineNone) |
982 ((int)FlowControl.Next << OpCode.FlowControlShift) |
983 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
984 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
985 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
986 (1 << OpCode.SizeShift) |
987 (0 << OpCode.StackChangeShift)
990 public static readonly OpCode Ldind_U2 = new OpCode(OpCodeValues.Ldind_U2,
991 ((int)OperandType.InlineNone) |
992 ((int)FlowControl.Next << OpCode.FlowControlShift) |
993 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
994 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
995 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
996 (1 << OpCode.SizeShift) |
997 (0 << OpCode.StackChangeShift)
1000 public static readonly OpCode Ldind_I4 = new OpCode(OpCodeValues.Ldind_I4,
1001 ((int)OperandType.InlineNone) |
1002 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1003 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1004 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1005 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1006 (1 << OpCode.SizeShift) |
1007 (0 << OpCode.StackChangeShift)
1010 public static readonly OpCode Ldind_U4 = new OpCode(OpCodeValues.Ldind_U4,
1011 ((int)OperandType.InlineNone) |
1012 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1013 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1014 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1015 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1016 (1 << OpCode.SizeShift) |
1017 (0 << OpCode.StackChangeShift)
1020 public static readonly OpCode Ldind_I8 = new OpCode(OpCodeValues.Ldind_I8,
1021 ((int)OperandType.InlineNone) |
1022 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1023 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1024 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1025 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1026 (1 << OpCode.SizeShift) |
1027 (0 << OpCode.StackChangeShift)
1030 public static readonly OpCode Ldind_I = new OpCode(OpCodeValues.Ldind_I,
1031 ((int)OperandType.InlineNone) |
1032 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1033 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1034 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1035 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1036 (1 << OpCode.SizeShift) |
1037 (0 << OpCode.StackChangeShift)
1040 public static readonly OpCode Ldind_R4 = new OpCode(OpCodeValues.Ldind_R4,
1041 ((int)OperandType.InlineNone) |
1042 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1043 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1044 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1045 ((int)StackBehaviour.Pushr4 << OpCode.StackBehaviourPushShift) |
1046 (1 << OpCode.SizeShift) |
1047 (0 << OpCode.StackChangeShift)
1050 public static readonly OpCode Ldind_R8 = new OpCode(OpCodeValues.Ldind_R8,
1051 ((int)OperandType.InlineNone) |
1052 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1053 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1054 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1055 ((int)StackBehaviour.Pushr8 << OpCode.StackBehaviourPushShift) |
1056 (1 << OpCode.SizeShift) |
1057 (0 << OpCode.StackChangeShift)
1060 public static readonly OpCode Ldind_Ref = new OpCode(OpCodeValues.Ldind_Ref,
1061 ((int)OperandType.InlineNone) |
1062 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1063 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1064 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1065 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1066 (1 << OpCode.SizeShift) |
1067 (0 << OpCode.StackChangeShift)
1070 public static readonly OpCode Stind_Ref = new OpCode(OpCodeValues.Stind_Ref,
1071 ((int)OperandType.InlineNone) |
1072 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1073 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1074 ((int)StackBehaviour.Popi_popi << OpCode.StackBehaviourPopShift) |
1075 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1076 (1 << OpCode.SizeShift) |
1077 (-2 << OpCode.StackChangeShift)
1080 public static readonly OpCode Stind_I1 = new OpCode(OpCodeValues.Stind_I1,
1081 ((int)OperandType.InlineNone) |
1082 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1083 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1084 ((int)StackBehaviour.Popi_popi << OpCode.StackBehaviourPopShift) |
1085 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1086 (1 << OpCode.SizeShift) |
1087 (-2 << OpCode.StackChangeShift)
1090 public static readonly OpCode Stind_I2 = new OpCode(OpCodeValues.Stind_I2,
1091 ((int)OperandType.InlineNone) |
1092 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1093 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1094 ((int)StackBehaviour.Popi_popi << OpCode.StackBehaviourPopShift) |
1095 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1096 (1 << OpCode.SizeShift) |
1097 (-2 << OpCode.StackChangeShift)
1100 public static readonly OpCode Stind_I4 = new OpCode(OpCodeValues.Stind_I4,
1101 ((int)OperandType.InlineNone) |
1102 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1103 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1104 ((int)StackBehaviour.Popi_popi << OpCode.StackBehaviourPopShift) |
1105 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1106 (1 << OpCode.SizeShift) |
1107 (-2 << OpCode.StackChangeShift)
1110 public static readonly OpCode Stind_I8 = new OpCode(OpCodeValues.Stind_I8,
1111 ((int)OperandType.InlineNone) |
1112 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1113 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1114 ((int)StackBehaviour.Popi_popi8 << OpCode.StackBehaviourPopShift) |
1115 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1116 (1 << OpCode.SizeShift) |
1117 (-2 << OpCode.StackChangeShift)
1120 public static readonly OpCode Stind_R4 = new OpCode(OpCodeValues.Stind_R4,
1121 ((int)OperandType.InlineNone) |
1122 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1123 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1124 ((int)StackBehaviour.Popi_popr4 << OpCode.StackBehaviourPopShift) |
1125 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1126 (1 << OpCode.SizeShift) |
1127 (-2 << OpCode.StackChangeShift)
1130 public static readonly OpCode Stind_R8 = new OpCode(OpCodeValues.Stind_R8,
1131 ((int)OperandType.InlineNone) |
1132 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1133 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1134 ((int)StackBehaviour.Popi_popr8 << OpCode.StackBehaviourPopShift) |
1135 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1136 (1 << OpCode.SizeShift) |
1137 (-2 << OpCode.StackChangeShift)
1140 public static readonly OpCode Add = new OpCode(OpCodeValues.Add,
1141 ((int)OperandType.InlineNone) |
1142 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1143 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1144 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1145 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1146 (1 << OpCode.SizeShift) |
1147 (-1 << OpCode.StackChangeShift)
1150 public static readonly OpCode Sub = new OpCode(OpCodeValues.Sub,
1151 ((int)OperandType.InlineNone) |
1152 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1153 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1154 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1155 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1156 (1 << OpCode.SizeShift) |
1157 (-1 << OpCode.StackChangeShift)
1160 public static readonly OpCode Mul = new OpCode(OpCodeValues.Mul,
1161 ((int)OperandType.InlineNone) |
1162 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1163 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1164 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1165 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1166 (1 << OpCode.SizeShift) |
1167 (-1 << OpCode.StackChangeShift)
1170 public static readonly OpCode Div = new OpCode(OpCodeValues.Div,
1171 ((int)OperandType.InlineNone) |
1172 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1173 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1174 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1175 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1176 (1 << OpCode.SizeShift) |
1177 (-1 << OpCode.StackChangeShift)
1180 public static readonly OpCode Div_Un = new OpCode(OpCodeValues.Div_Un,
1181 ((int)OperandType.InlineNone) |
1182 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1183 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1184 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1185 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1186 (1 << OpCode.SizeShift) |
1187 (-1 << OpCode.StackChangeShift)
1190 public static readonly OpCode Rem = new OpCode(OpCodeValues.Rem,
1191 ((int)OperandType.InlineNone) |
1192 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1193 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1194 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1195 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1196 (1 << OpCode.SizeShift) |
1197 (-1 << OpCode.StackChangeShift)
1200 public static readonly OpCode Rem_Un = new OpCode(OpCodeValues.Rem_Un,
1201 ((int)OperandType.InlineNone) |
1202 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1203 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1204 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1205 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1206 (1 << OpCode.SizeShift) |
1207 (-1 << OpCode.StackChangeShift)
1210 public static readonly OpCode And = new OpCode(OpCodeValues.And,
1211 ((int)OperandType.InlineNone) |
1212 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1213 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1214 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1215 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1216 (1 << OpCode.SizeShift) |
1217 (-1 << OpCode.StackChangeShift)
1220 public static readonly OpCode Or = new OpCode(OpCodeValues.Or,
1221 ((int)OperandType.InlineNone) |
1222 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1223 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1224 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1225 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1226 (1 << OpCode.SizeShift) |
1227 (-1 << OpCode.StackChangeShift)
1230 public static readonly OpCode Xor = new OpCode(OpCodeValues.Xor,
1231 ((int)OperandType.InlineNone) |
1232 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1233 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1234 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1235 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1236 (1 << OpCode.SizeShift) |
1237 (-1 << OpCode.StackChangeShift)
1240 public static readonly OpCode Shl = new OpCode(OpCodeValues.Shl,
1241 ((int)OperandType.InlineNone) |
1242 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1243 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1244 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1245 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1246 (1 << OpCode.SizeShift) |
1247 (-1 << OpCode.StackChangeShift)
1250 public static readonly OpCode Shr = new OpCode(OpCodeValues.Shr,
1251 ((int)OperandType.InlineNone) |
1252 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1253 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1254 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1255 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1256 (1 << OpCode.SizeShift) |
1257 (-1 << OpCode.StackChangeShift)
1260 public static readonly OpCode Shr_Un = new OpCode(OpCodeValues.Shr_Un,
1261 ((int)OperandType.InlineNone) |
1262 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1263 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1264 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
1265 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1266 (1 << OpCode.SizeShift) |
1267 (-1 << OpCode.StackChangeShift)
1270 public static readonly OpCode Neg = new OpCode(OpCodeValues.Neg,
1271 ((int)OperandType.InlineNone) |
1272 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1273 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1274 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1275 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1276 (1 << OpCode.SizeShift) |
1277 (0 << OpCode.StackChangeShift)
1280 public static readonly OpCode Not = new OpCode(OpCodeValues.Not,
1281 ((int)OperandType.InlineNone) |
1282 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1283 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1284 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1285 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1286 (1 << OpCode.SizeShift) |
1287 (0 << OpCode.StackChangeShift)
1290 public static readonly OpCode Conv_I1 = new OpCode(OpCodeValues.Conv_I1,
1291 ((int)OperandType.InlineNone) |
1292 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1293 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1294 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1295 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1296 (1 << OpCode.SizeShift) |
1297 (0 << OpCode.StackChangeShift)
1300 public static readonly OpCode Conv_I2 = new OpCode(OpCodeValues.Conv_I2,
1301 ((int)OperandType.InlineNone) |
1302 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1303 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1304 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1305 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1306 (1 << OpCode.SizeShift) |
1307 (0 << OpCode.StackChangeShift)
1310 public static readonly OpCode Conv_I4 = new OpCode(OpCodeValues.Conv_I4,
1311 ((int)OperandType.InlineNone) |
1312 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1313 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1314 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1315 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1316 (1 << OpCode.SizeShift) |
1317 (0 << OpCode.StackChangeShift)
1320 public static readonly OpCode Conv_I8 = new OpCode(OpCodeValues.Conv_I8,
1321 ((int)OperandType.InlineNone) |
1322 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1323 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1324 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1325 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1326 (1 << OpCode.SizeShift) |
1327 (0 << OpCode.StackChangeShift)
1330 public static readonly OpCode Conv_R4 = new OpCode(OpCodeValues.Conv_R4,
1331 ((int)OperandType.InlineNone) |
1332 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1333 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1334 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1335 ((int)StackBehaviour.Pushr4 << OpCode.StackBehaviourPushShift) |
1336 (1 << OpCode.SizeShift) |
1337 (0 << OpCode.StackChangeShift)
1340 public static readonly OpCode Conv_R8 = new OpCode(OpCodeValues.Conv_R8,
1341 ((int)OperandType.InlineNone) |
1342 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1343 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1344 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1345 ((int)StackBehaviour.Pushr8 << OpCode.StackBehaviourPushShift) |
1346 (1 << OpCode.SizeShift) |
1347 (0 << OpCode.StackChangeShift)
1350 public static readonly OpCode Conv_U4 = new OpCode(OpCodeValues.Conv_U4,
1351 ((int)OperandType.InlineNone) |
1352 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1353 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1354 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1355 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1356 (1 << OpCode.SizeShift) |
1357 (0 << OpCode.StackChangeShift)
1360 public static readonly OpCode Conv_U8 = new OpCode(OpCodeValues.Conv_U8,
1361 ((int)OperandType.InlineNone) |
1362 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1363 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1364 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1365 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1366 (1 << OpCode.SizeShift) |
1367 (0 << OpCode.StackChangeShift)
1370 public static readonly OpCode Callvirt = new OpCode(OpCodeValues.Callvirt,
1371 ((int)OperandType.InlineMethod) |
1372 ((int)FlowControl.Call << OpCode.FlowControlShift) |
1373 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1374 ((int)StackBehaviour.Varpop << OpCode.StackBehaviourPopShift) |
1375 ((int)StackBehaviour.Varpush << OpCode.StackBehaviourPushShift) |
1376 (1 << OpCode.SizeShift) |
1377 (0 << OpCode.StackChangeShift)
1380 public static readonly OpCode Cpobj = new OpCode(OpCodeValues.Cpobj,
1381 ((int)OperandType.InlineType) |
1382 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1383 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1384 ((int)StackBehaviour.Popi_popi << OpCode.StackBehaviourPopShift) |
1385 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1386 (1 << OpCode.SizeShift) |
1387 (-2 << OpCode.StackChangeShift)
1390 public static readonly OpCode Ldobj = new OpCode(OpCodeValues.Ldobj,
1391 ((int)OperandType.InlineType) |
1392 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1393 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1394 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1395 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1396 (1 << OpCode.SizeShift) |
1397 (0 << OpCode.StackChangeShift)
1400 public static readonly OpCode Ldstr = new OpCode(OpCodeValues.Ldstr,
1401 ((int)OperandType.InlineString) |
1402 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1403 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1404 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
1405 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1406 (1 << OpCode.SizeShift) |
1407 (1 << OpCode.StackChangeShift)
1410 public static readonly OpCode Newobj = new OpCode(OpCodeValues.Newobj,
1411 ((int)OperandType.InlineMethod) |
1412 ((int)FlowControl.Call << OpCode.FlowControlShift) |
1413 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1414 ((int)StackBehaviour.Varpop << OpCode.StackBehaviourPopShift) |
1415 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1416 (1 << OpCode.SizeShift) |
1417 (1 << OpCode.StackChangeShift)
1420 public static readonly OpCode Castclass = new OpCode(OpCodeValues.Castclass,
1421 ((int)OperandType.InlineType) |
1422 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1423 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1424 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1425 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1426 (1 << OpCode.SizeShift) |
1427 (0 << OpCode.StackChangeShift)
1430 public static readonly OpCode Isinst = new OpCode(OpCodeValues.Isinst,
1431 ((int)OperandType.InlineType) |
1432 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1433 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1434 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1435 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1436 (1 << OpCode.SizeShift) |
1437 (0 << OpCode.StackChangeShift)
1440 public static readonly OpCode Conv_R_Un = new OpCode(OpCodeValues.Conv_R_Un,
1441 ((int)OperandType.InlineNone) |
1442 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1443 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1444 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1445 ((int)StackBehaviour.Pushr8 << OpCode.StackBehaviourPushShift) |
1446 (1 << OpCode.SizeShift) |
1447 (0 << OpCode.StackChangeShift)
1450 public static readonly OpCode Unbox = new OpCode(OpCodeValues.Unbox,
1451 ((int)OperandType.InlineType) |
1452 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1453 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1454 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1455 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1456 (1 << OpCode.SizeShift) |
1457 (0 << OpCode.StackChangeShift)
1460 public static readonly OpCode Throw = new OpCode(OpCodeValues.Throw,
1461 ((int)OperandType.InlineNone) |
1462 ((int)FlowControl.Throw << OpCode.FlowControlShift) |
1463 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1464 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1465 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1466 (1 << OpCode.SizeShift) |
1467 OpCode.EndsUncondJmpBlkFlag |
1468 (-1 << OpCode.StackChangeShift)
1471 public static readonly OpCode Ldfld = new OpCode(OpCodeValues.Ldfld,
1472 ((int)OperandType.InlineField) |
1473 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1474 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1475 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1476 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1477 (1 << OpCode.SizeShift) |
1478 (0 << OpCode.StackChangeShift)
1481 public static readonly OpCode Ldflda = new OpCode(OpCodeValues.Ldflda,
1482 ((int)OperandType.InlineField) |
1483 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1484 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1485 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1486 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1487 (1 << OpCode.SizeShift) |
1488 (0 << OpCode.StackChangeShift)
1491 public static readonly OpCode Stfld = new OpCode(OpCodeValues.Stfld,
1492 ((int)OperandType.InlineField) |
1493 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1494 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1495 ((int)StackBehaviour.Popref_pop1 << OpCode.StackBehaviourPopShift) |
1496 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1497 (1 << OpCode.SizeShift) |
1498 (-2 << OpCode.StackChangeShift)
1501 public static readonly OpCode Ldsfld = new OpCode(OpCodeValues.Ldsfld,
1502 ((int)OperandType.InlineField) |
1503 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1504 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1505 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
1506 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1507 (1 << OpCode.SizeShift) |
1508 (1 << OpCode.StackChangeShift)
1511 public static readonly OpCode Ldsflda = new OpCode(OpCodeValues.Ldsflda,
1512 ((int)OperandType.InlineField) |
1513 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1514 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1515 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
1516 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1517 (1 << OpCode.SizeShift) |
1518 (1 << OpCode.StackChangeShift)
1521 public static readonly OpCode Stsfld = new OpCode(OpCodeValues.Stsfld,
1522 ((int)OperandType.InlineField) |
1523 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1524 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1525 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1526 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1527 (1 << OpCode.SizeShift) |
1528 (-1 << OpCode.StackChangeShift)
1531 public static readonly OpCode Stobj = new OpCode(OpCodeValues.Stobj,
1532 ((int)OperandType.InlineType) |
1533 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1534 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1535 ((int)StackBehaviour.Popi_pop1 << OpCode.StackBehaviourPopShift) |
1536 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1537 (1 << OpCode.SizeShift) |
1538 (-2 << OpCode.StackChangeShift)
1541 public static readonly OpCode Conv_Ovf_I1_Un = new OpCode(OpCodeValues.Conv_Ovf_I1_Un,
1542 ((int)OperandType.InlineNone) |
1543 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1544 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1545 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1546 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1547 (1 << OpCode.SizeShift) |
1548 (0 << OpCode.StackChangeShift)
1551 public static readonly OpCode Conv_Ovf_I2_Un = new OpCode(OpCodeValues.Conv_Ovf_I2_Un,
1552 ((int)OperandType.InlineNone) |
1553 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1554 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1555 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1556 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1557 (1 << OpCode.SizeShift) |
1558 (0 << OpCode.StackChangeShift)
1561 public static readonly OpCode Conv_Ovf_I4_Un = new OpCode(OpCodeValues.Conv_Ovf_I4_Un,
1562 ((int)OperandType.InlineNone) |
1563 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1564 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1565 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1566 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1567 (1 << OpCode.SizeShift) |
1568 (0 << OpCode.StackChangeShift)
1571 public static readonly OpCode Conv_Ovf_I8_Un = new OpCode(OpCodeValues.Conv_Ovf_I8_Un,
1572 ((int)OperandType.InlineNone) |
1573 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1574 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1575 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1576 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1577 (1 << OpCode.SizeShift) |
1578 (0 << OpCode.StackChangeShift)
1581 public static readonly OpCode Conv_Ovf_U1_Un = new OpCode(OpCodeValues.Conv_Ovf_U1_Un,
1582 ((int)OperandType.InlineNone) |
1583 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1584 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1585 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1586 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1587 (1 << OpCode.SizeShift) |
1588 (0 << OpCode.StackChangeShift)
1591 public static readonly OpCode Conv_Ovf_U2_Un = new OpCode(OpCodeValues.Conv_Ovf_U2_Un,
1592 ((int)OperandType.InlineNone) |
1593 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1594 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1595 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1596 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1597 (1 << OpCode.SizeShift) |
1598 (0 << OpCode.StackChangeShift)
1601 public static readonly OpCode Conv_Ovf_U4_Un = new OpCode(OpCodeValues.Conv_Ovf_U4_Un,
1602 ((int)OperandType.InlineNone) |
1603 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1604 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1605 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1606 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1607 (1 << OpCode.SizeShift) |
1608 (0 << OpCode.StackChangeShift)
1611 public static readonly OpCode Conv_Ovf_U8_Un = new OpCode(OpCodeValues.Conv_Ovf_U8_Un,
1612 ((int)OperandType.InlineNone) |
1613 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1614 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1615 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1616 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1617 (1 << OpCode.SizeShift) |
1618 (0 << OpCode.StackChangeShift)
1621 public static readonly OpCode Conv_Ovf_I_Un = new OpCode(OpCodeValues.Conv_Ovf_I_Un,
1622 ((int)OperandType.InlineNone) |
1623 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1624 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1625 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1626 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1627 (1 << OpCode.SizeShift) |
1628 (0 << OpCode.StackChangeShift)
1631 public static readonly OpCode Conv_Ovf_U_Un = new OpCode(OpCodeValues.Conv_Ovf_U_Un,
1632 ((int)OperandType.InlineNone) |
1633 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1634 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1635 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1636 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1637 (1 << OpCode.SizeShift) |
1638 (0 << OpCode.StackChangeShift)
1641 public static readonly OpCode Box = new OpCode(OpCodeValues.Box,
1642 ((int)OperandType.InlineType) |
1643 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1644 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1645 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1646 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1647 (1 << OpCode.SizeShift) |
1648 (0 << OpCode.StackChangeShift)
1651 public static readonly OpCode Newarr = new OpCode(OpCodeValues.Newarr,
1652 ((int)OperandType.InlineType) |
1653 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1654 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1655 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
1656 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1657 (1 << OpCode.SizeShift) |
1658 (0 << OpCode.StackChangeShift)
1661 public static readonly OpCode Ldlen = new OpCode(OpCodeValues.Ldlen,
1662 ((int)OperandType.InlineNone) |
1663 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1664 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1665 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1666 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1667 (1 << OpCode.SizeShift) |
1668 (0 << OpCode.StackChangeShift)
1671 public static readonly OpCode Ldelema = new OpCode(OpCodeValues.Ldelema,
1672 ((int)OperandType.InlineType) |
1673 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1674 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1675 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1676 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1677 (1 << OpCode.SizeShift) |
1678 (-1 << OpCode.StackChangeShift)
1681 public static readonly OpCode Ldelem_I1 = new OpCode(OpCodeValues.Ldelem_I1,
1682 ((int)OperandType.InlineNone) |
1683 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1684 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1685 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1686 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1687 (1 << OpCode.SizeShift) |
1688 (-1 << OpCode.StackChangeShift)
1691 public static readonly OpCode Ldelem_U1 = new OpCode(OpCodeValues.Ldelem_U1,
1692 ((int)OperandType.InlineNone) |
1693 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1694 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1695 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1696 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1697 (1 << OpCode.SizeShift) |
1698 (-1 << OpCode.StackChangeShift)
1701 public static readonly OpCode Ldelem_I2 = new OpCode(OpCodeValues.Ldelem_I2,
1702 ((int)OperandType.InlineNone) |
1703 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1704 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1705 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1706 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1707 (1 << OpCode.SizeShift) |
1708 (-1 << OpCode.StackChangeShift)
1711 public static readonly OpCode Ldelem_U2 = new OpCode(OpCodeValues.Ldelem_U2,
1712 ((int)OperandType.InlineNone) |
1713 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1714 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1715 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1716 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1717 (1 << OpCode.SizeShift) |
1718 (-1 << OpCode.StackChangeShift)
1721 public static readonly OpCode Ldelem_I4 = new OpCode(OpCodeValues.Ldelem_I4,
1722 ((int)OperandType.InlineNone) |
1723 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1724 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1725 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1726 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1727 (1 << OpCode.SizeShift) |
1728 (-1 << OpCode.StackChangeShift)
1731 public static readonly OpCode Ldelem_U4 = new OpCode(OpCodeValues.Ldelem_U4,
1732 ((int)OperandType.InlineNone) |
1733 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1734 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1735 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1736 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1737 (1 << OpCode.SizeShift) |
1738 (-1 << OpCode.StackChangeShift)
1741 public static readonly OpCode Ldelem_I8 = new OpCode(OpCodeValues.Ldelem_I8,
1742 ((int)OperandType.InlineNone) |
1743 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1744 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1745 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1746 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1747 (1 << OpCode.SizeShift) |
1748 (-1 << OpCode.StackChangeShift)
1751 public static readonly OpCode Ldelem_I = new OpCode(OpCodeValues.Ldelem_I,
1752 ((int)OperandType.InlineNone) |
1753 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1754 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1755 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1756 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1757 (1 << OpCode.SizeShift) |
1758 (-1 << OpCode.StackChangeShift)
1761 public static readonly OpCode Ldelem_R4 = new OpCode(OpCodeValues.Ldelem_R4,
1762 ((int)OperandType.InlineNone) |
1763 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1764 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1765 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1766 ((int)StackBehaviour.Pushr4 << OpCode.StackBehaviourPushShift) |
1767 (1 << OpCode.SizeShift) |
1768 (-1 << OpCode.StackChangeShift)
1771 public static readonly OpCode Ldelem_R8 = new OpCode(OpCodeValues.Ldelem_R8,
1772 ((int)OperandType.InlineNone) |
1773 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1774 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1775 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1776 ((int)StackBehaviour.Pushr8 << OpCode.StackBehaviourPushShift) |
1777 (1 << OpCode.SizeShift) |
1778 (-1 << OpCode.StackChangeShift)
1781 public static readonly OpCode Ldelem_Ref = new OpCode(OpCodeValues.Ldelem_Ref,
1782 ((int)OperandType.InlineNone) |
1783 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1784 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1785 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1786 ((int)StackBehaviour.Pushref << OpCode.StackBehaviourPushShift) |
1787 (1 << OpCode.SizeShift) |
1788 (-1 << OpCode.StackChangeShift)
1791 public static readonly OpCode Stelem_I = new OpCode(OpCodeValues.Stelem_I,
1792 ((int)OperandType.InlineNone) |
1793 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1794 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1795 ((int)StackBehaviour.Popref_popi_popi << OpCode.StackBehaviourPopShift) |
1796 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1797 (1 << OpCode.SizeShift) |
1798 (-3 << OpCode.StackChangeShift)
1801 public static readonly OpCode Stelem_I1 = new OpCode(OpCodeValues.Stelem_I1,
1802 ((int)OperandType.InlineNone) |
1803 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1804 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1805 ((int)StackBehaviour.Popref_popi_popi << OpCode.StackBehaviourPopShift) |
1806 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1807 (1 << OpCode.SizeShift) |
1808 (-3 << OpCode.StackChangeShift)
1811 public static readonly OpCode Stelem_I2 = new OpCode(OpCodeValues.Stelem_I2,
1812 ((int)OperandType.InlineNone) |
1813 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1814 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1815 ((int)StackBehaviour.Popref_popi_popi << OpCode.StackBehaviourPopShift) |
1816 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1817 (1 << OpCode.SizeShift) |
1818 (-3 << OpCode.StackChangeShift)
1821 public static readonly OpCode Stelem_I4 = new OpCode(OpCodeValues.Stelem_I4,
1822 ((int)OperandType.InlineNone) |
1823 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1824 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1825 ((int)StackBehaviour.Popref_popi_popi << OpCode.StackBehaviourPopShift) |
1826 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1827 (1 << OpCode.SizeShift) |
1828 (-3 << OpCode.StackChangeShift)
1831 public static readonly OpCode Stelem_I8 = new OpCode(OpCodeValues.Stelem_I8,
1832 ((int)OperandType.InlineNone) |
1833 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1834 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1835 ((int)StackBehaviour.Popref_popi_popi8 << OpCode.StackBehaviourPopShift) |
1836 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1837 (1 << OpCode.SizeShift) |
1838 (-3 << OpCode.StackChangeShift)
1841 public static readonly OpCode Stelem_R4 = new OpCode(OpCodeValues.Stelem_R4,
1842 ((int)OperandType.InlineNone) |
1843 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1844 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1845 ((int)StackBehaviour.Popref_popi_popr4 << OpCode.StackBehaviourPopShift) |
1846 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1847 (1 << OpCode.SizeShift) |
1848 (-3 << OpCode.StackChangeShift)
1851 public static readonly OpCode Stelem_R8 = new OpCode(OpCodeValues.Stelem_R8,
1852 ((int)OperandType.InlineNone) |
1853 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1854 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1855 ((int)StackBehaviour.Popref_popi_popr8 << OpCode.StackBehaviourPopShift) |
1856 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1857 (1 << OpCode.SizeShift) |
1858 (-3 << OpCode.StackChangeShift)
1861 public static readonly OpCode Stelem_Ref = new OpCode(OpCodeValues.Stelem_Ref,
1862 ((int)OperandType.InlineNone) |
1863 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1864 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1865 ((int)StackBehaviour.Popref_popi_popref << OpCode.StackBehaviourPopShift) |
1866 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1867 (1 << OpCode.SizeShift) |
1868 (-3 << OpCode.StackChangeShift)
1871 public static readonly OpCode Ldelem = new OpCode(OpCodeValues.Ldelem,
1872 ((int)OperandType.InlineType) |
1873 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1874 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1875 ((int)StackBehaviour.Popref_popi << OpCode.StackBehaviourPopShift) |
1876 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1877 (1 << OpCode.SizeShift) |
1878 (-1 << OpCode.StackChangeShift)
1881 public static readonly OpCode Stelem = new OpCode(OpCodeValues.Stelem,
1882 ((int)OperandType.InlineType) |
1883 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1884 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1885 ((int)StackBehaviour.Popref_popi_pop1 << OpCode.StackBehaviourPopShift) |
1886 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
1887 (1 << OpCode.SizeShift) |
1888 (-3 << OpCode.StackChangeShift)
1891 public static readonly OpCode Unbox_Any = new OpCode(OpCodeValues.Unbox_Any,
1892 ((int)OperandType.InlineType) |
1893 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1894 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
1895 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
1896 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
1897 (1 << OpCode.SizeShift) |
1898 (0 << OpCode.StackChangeShift)
1901 public static readonly OpCode Conv_Ovf_I1 = new OpCode(OpCodeValues.Conv_Ovf_I1,
1902 ((int)OperandType.InlineNone) |
1903 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1904 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1905 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1906 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1907 (1 << OpCode.SizeShift) |
1908 (0 << OpCode.StackChangeShift)
1911 public static readonly OpCode Conv_Ovf_U1 = new OpCode(OpCodeValues.Conv_Ovf_U1,
1912 ((int)OperandType.InlineNone) |
1913 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1914 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1915 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1916 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1917 (1 << OpCode.SizeShift) |
1918 (0 << OpCode.StackChangeShift)
1921 public static readonly OpCode Conv_Ovf_I2 = new OpCode(OpCodeValues.Conv_Ovf_I2,
1922 ((int)OperandType.InlineNone) |
1923 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1924 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1925 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1926 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1927 (1 << OpCode.SizeShift) |
1928 (0 << OpCode.StackChangeShift)
1931 public static readonly OpCode Conv_Ovf_U2 = new OpCode(OpCodeValues.Conv_Ovf_U2,
1932 ((int)OperandType.InlineNone) |
1933 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1934 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1935 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1936 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1937 (1 << OpCode.SizeShift) |
1938 (0 << OpCode.StackChangeShift)
1941 public static readonly OpCode Conv_Ovf_I4 = new OpCode(OpCodeValues.Conv_Ovf_I4,
1942 ((int)OperandType.InlineNone) |
1943 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1944 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1945 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1946 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1947 (1 << OpCode.SizeShift) |
1948 (0 << OpCode.StackChangeShift)
1951 public static readonly OpCode Conv_Ovf_U4 = new OpCode(OpCodeValues.Conv_Ovf_U4,
1952 ((int)OperandType.InlineNone) |
1953 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1954 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1955 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1956 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1957 (1 << OpCode.SizeShift) |
1958 (0 << OpCode.StackChangeShift)
1961 public static readonly OpCode Conv_Ovf_I8 = new OpCode(OpCodeValues.Conv_Ovf_I8,
1962 ((int)OperandType.InlineNone) |
1963 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1964 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1965 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1966 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1967 (1 << OpCode.SizeShift) |
1968 (0 << OpCode.StackChangeShift)
1971 public static readonly OpCode Conv_Ovf_U8 = new OpCode(OpCodeValues.Conv_Ovf_U8,
1972 ((int)OperandType.InlineNone) |
1973 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1974 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1975 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1976 ((int)StackBehaviour.Pushi8 << OpCode.StackBehaviourPushShift) |
1977 (1 << OpCode.SizeShift) |
1978 (0 << OpCode.StackChangeShift)
1981 public static readonly OpCode Refanyval = new OpCode(OpCodeValues.Refanyval,
1982 ((int)OperandType.InlineType) |
1983 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1984 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1985 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1986 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
1987 (1 << OpCode.SizeShift) |
1988 (0 << OpCode.StackChangeShift)
1991 public static readonly OpCode Ckfinite = new OpCode(OpCodeValues.Ckfinite,
1992 ((int)OperandType.InlineNone) |
1993 ((int)FlowControl.Next << OpCode.FlowControlShift) |
1994 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
1995 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
1996 ((int)StackBehaviour.Pushr8 << OpCode.StackBehaviourPushShift) |
1997 (1 << OpCode.SizeShift) |
1998 (0 << OpCode.StackChangeShift)
2001 public static readonly OpCode Mkrefany = new OpCode(OpCodeValues.Mkrefany,
2002 ((int)OperandType.InlineType) |
2003 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2004 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2005 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
2006 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2007 (1 << OpCode.SizeShift) |
2008 (0 << OpCode.StackChangeShift)
2011 public static readonly OpCode Ldtoken = new OpCode(OpCodeValues.Ldtoken,
2012 ((int)OperandType.InlineTok) |
2013 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2014 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2015 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2016 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2017 (1 << OpCode.SizeShift) |
2018 (1 << OpCode.StackChangeShift)
2021 public static readonly OpCode Conv_U2 = new OpCode(OpCodeValues.Conv_U2,
2022 ((int)OperandType.InlineNone) |
2023 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2024 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2025 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2026 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2027 (1 << OpCode.SizeShift) |
2028 (0 << OpCode.StackChangeShift)
2031 public static readonly OpCode Conv_U1 = new OpCode(OpCodeValues.Conv_U1,
2032 ((int)OperandType.InlineNone) |
2033 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2034 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2035 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2036 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2037 (1 << OpCode.SizeShift) |
2038 (0 << OpCode.StackChangeShift)
2041 public static readonly OpCode Conv_I = new OpCode(OpCodeValues.Conv_I,
2042 ((int)OperandType.InlineNone) |
2043 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2044 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2045 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2046 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2047 (1 << OpCode.SizeShift) |
2048 (0 << OpCode.StackChangeShift)
2051 public static readonly OpCode Conv_Ovf_I = new OpCode(OpCodeValues.Conv_Ovf_I,
2052 ((int)OperandType.InlineNone) |
2053 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2054 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2055 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2056 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2057 (1 << OpCode.SizeShift) |
2058 (0 << OpCode.StackChangeShift)
2061 public static readonly OpCode Conv_Ovf_U = new OpCode(OpCodeValues.Conv_Ovf_U,
2062 ((int)OperandType.InlineNone) |
2063 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2064 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2065 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2066 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2067 (1 << OpCode.SizeShift) |
2068 (0 << OpCode.StackChangeShift)
2071 public static readonly OpCode Add_Ovf = new OpCode(OpCodeValues.Add_Ovf,
2072 ((int)OperandType.InlineNone) |
2073 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2074 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2075 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2076 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2077 (1 << OpCode.SizeShift) |
2078 (-1 << OpCode.StackChangeShift)
2081 public static readonly OpCode Add_Ovf_Un = new OpCode(OpCodeValues.Add_Ovf_Un,
2082 ((int)OperandType.InlineNone) |
2083 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2084 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2085 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2086 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2087 (1 << OpCode.SizeShift) |
2088 (-1 << OpCode.StackChangeShift)
2091 public static readonly OpCode Mul_Ovf = new OpCode(OpCodeValues.Mul_Ovf,
2092 ((int)OperandType.InlineNone) |
2093 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2094 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2095 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2096 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2097 (1 << OpCode.SizeShift) |
2098 (-1 << OpCode.StackChangeShift)
2101 public static readonly OpCode Mul_Ovf_Un = new OpCode(OpCodeValues.Mul_Ovf_Un,
2102 ((int)OperandType.InlineNone) |
2103 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2104 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2105 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2106 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2107 (1 << OpCode.SizeShift) |
2108 (-1 << OpCode.StackChangeShift)
2111 public static readonly OpCode Sub_Ovf = new OpCode(OpCodeValues.Sub_Ovf,
2112 ((int)OperandType.InlineNone) |
2113 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2114 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2115 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2116 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2117 (1 << OpCode.SizeShift) |
2118 (-1 << OpCode.StackChangeShift)
2121 public static readonly OpCode Sub_Ovf_Un = new OpCode(OpCodeValues.Sub_Ovf_Un,
2122 ((int)OperandType.InlineNone) |
2123 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2124 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2125 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2126 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2127 (1 << OpCode.SizeShift) |
2128 (-1 << OpCode.StackChangeShift)
2131 public static readonly OpCode Endfinally = new OpCode(OpCodeValues.Endfinally,
2132 ((int)OperandType.InlineNone) |
2133 ((int)FlowControl.Return << OpCode.FlowControlShift) |
2134 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2135 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2136 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2137 (1 << OpCode.SizeShift) |
2138 OpCode.EndsUncondJmpBlkFlag |
2139 (0 << OpCode.StackChangeShift)
2142 public static readonly OpCode Leave = new OpCode(OpCodeValues.Leave,
2143 ((int)OperandType.InlineBrTarget) |
2144 ((int)FlowControl.Branch << OpCode.FlowControlShift) |
2145 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2146 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2147 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2148 (1 << OpCode.SizeShift) |
2149 OpCode.EndsUncondJmpBlkFlag |
2150 (0 << OpCode.StackChangeShift)
2153 public static readonly OpCode Leave_S = new OpCode(OpCodeValues.Leave_S,
2154 ((int)OperandType.ShortInlineBrTarget) |
2155 ((int)FlowControl.Branch << OpCode.FlowControlShift) |
2156 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2157 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2158 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2159 (1 << OpCode.SizeShift) |
2160 OpCode.EndsUncondJmpBlkFlag |
2161 (0 << OpCode.StackChangeShift)
2164 public static readonly OpCode Stind_I = new OpCode(OpCodeValues.Stind_I,
2165 ((int)OperandType.InlineNone) |
2166 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2167 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2168 ((int)StackBehaviour.Popi_popi << OpCode.StackBehaviourPopShift) |
2169 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2170 (1 << OpCode.SizeShift) |
2171 (-2 << OpCode.StackChangeShift)
2174 public static readonly OpCode Conv_U = new OpCode(OpCodeValues.Conv_U,
2175 ((int)OperandType.InlineNone) |
2176 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2177 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2178 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2179 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2180 (1 << OpCode.SizeShift) |
2181 (0 << OpCode.StackChangeShift)
2184 public static readonly OpCode Prefix7 = new OpCode(OpCodeValues.Prefix7,
2185 ((int)OperandType.InlineNone) |
2186 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2187 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2188 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2189 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2190 (1 << OpCode.SizeShift) |
2191 (0 << OpCode.StackChangeShift)
2194 public static readonly OpCode Prefix6 = new OpCode(OpCodeValues.Prefix6,
2195 ((int)OperandType.InlineNone) |
2196 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2197 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2198 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2199 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2200 (1 << OpCode.SizeShift) |
2201 (0 << OpCode.StackChangeShift)
2204 public static readonly OpCode Prefix5 = new OpCode(OpCodeValues.Prefix5,
2205 ((int)OperandType.InlineNone) |
2206 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2207 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2208 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2209 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2210 (1 << OpCode.SizeShift) |
2211 (0 << OpCode.StackChangeShift)
2214 public static readonly OpCode Prefix4 = new OpCode(OpCodeValues.Prefix4,
2215 ((int)OperandType.InlineNone) |
2216 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2217 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2218 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2219 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2220 (1 << OpCode.SizeShift) |
2221 (0 << OpCode.StackChangeShift)
2224 public static readonly OpCode Prefix3 = new OpCode(OpCodeValues.Prefix3,
2225 ((int)OperandType.InlineNone) |
2226 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2227 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2228 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2229 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2230 (1 << OpCode.SizeShift) |
2231 (0 << OpCode.StackChangeShift)
2234 public static readonly OpCode Prefix2 = new OpCode(OpCodeValues.Prefix2,
2235 ((int)OperandType.InlineNone) |
2236 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2237 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2238 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2239 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2240 (1 << OpCode.SizeShift) |
2241 (0 << OpCode.StackChangeShift)
2244 public static readonly OpCode Prefix1 = new OpCode(OpCodeValues.Prefix1,
2245 ((int)OperandType.InlineNone) |
2246 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2247 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2248 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2249 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2250 (1 << OpCode.SizeShift) |
2251 (0 << OpCode.StackChangeShift)
2254 public static readonly OpCode Prefixref = new OpCode(OpCodeValues.Prefixref,
2255 ((int)OperandType.InlineNone) |
2256 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2257 ((int)OpCodeType.Nternal << OpCode.OpCodeTypeShift) |
2258 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2259 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2260 (1 << OpCode.SizeShift) |
2261 (0 << OpCode.StackChangeShift)
2264 public static readonly OpCode Arglist = new OpCode(OpCodeValues.Arglist,
2265 ((int)OperandType.InlineNone) |
2266 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2267 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2268 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2269 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2270 (2 << OpCode.SizeShift) |
2271 (1 << OpCode.StackChangeShift)
2274 public static readonly OpCode Ceq = new OpCode(OpCodeValues.Ceq,
2275 ((int)OperandType.InlineNone) |
2276 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2277 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2278 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2279 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2280 (2 << OpCode.SizeShift) |
2281 (-1 << OpCode.StackChangeShift)
2284 public static readonly OpCode Cgt = new OpCode(OpCodeValues.Cgt,
2285 ((int)OperandType.InlineNone) |
2286 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2287 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2288 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2289 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2290 (2 << OpCode.SizeShift) |
2291 (-1 << OpCode.StackChangeShift)
2294 public static readonly OpCode Cgt_Un = new OpCode(OpCodeValues.Cgt_Un,
2295 ((int)OperandType.InlineNone) |
2296 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2297 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2298 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2299 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2300 (2 << OpCode.SizeShift) |
2301 (-1 << OpCode.StackChangeShift)
2304 public static readonly OpCode Clt = new OpCode(OpCodeValues.Clt,
2305 ((int)OperandType.InlineNone) |
2306 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2307 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2308 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2309 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2310 (2 << OpCode.SizeShift) |
2311 (-1 << OpCode.StackChangeShift)
2314 public static readonly OpCode Clt_Un = new OpCode(OpCodeValues.Clt_Un,
2315 ((int)OperandType.InlineNone) |
2316 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2317 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2318 ((int)StackBehaviour.Pop1_pop1 << OpCode.StackBehaviourPopShift) |
2319 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2320 (2 << OpCode.SizeShift) |
2321 (-1 << OpCode.StackChangeShift)
2324 public static readonly OpCode Ldftn = new OpCode(OpCodeValues.Ldftn,
2325 ((int)OperandType.InlineMethod) |
2326 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2327 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2328 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2329 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2330 (2 << OpCode.SizeShift) |
2331 (1 << OpCode.StackChangeShift)
2334 public static readonly OpCode Ldvirtftn = new OpCode(OpCodeValues.Ldvirtftn,
2335 ((int)OperandType.InlineMethod) |
2336 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2337 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2338 ((int)StackBehaviour.Popref << OpCode.StackBehaviourPopShift) |
2339 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2340 (2 << OpCode.SizeShift) |
2341 (0 << OpCode.StackChangeShift)
2344 public static readonly OpCode Ldarg = new OpCode(OpCodeValues.Ldarg,
2345 ((int)OperandType.InlineVar) |
2346 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2347 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2348 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2349 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2350 (2 << OpCode.SizeShift) |
2351 (1 << OpCode.StackChangeShift)
2354 public static readonly OpCode Ldarga = new OpCode(OpCodeValues.Ldarga,
2355 ((int)OperandType.InlineVar) |
2356 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2357 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2358 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2359 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2360 (2 << OpCode.SizeShift) |
2361 (1 << OpCode.StackChangeShift)
2364 public static readonly OpCode Starg = new OpCode(OpCodeValues.Starg,
2365 ((int)OperandType.InlineVar) |
2366 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2367 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2368 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2369 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2370 (2 << OpCode.SizeShift) |
2371 (-1 << OpCode.StackChangeShift)
2374 public static readonly OpCode Ldloc = new OpCode(OpCodeValues.Ldloc,
2375 ((int)OperandType.InlineVar) |
2376 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2377 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2378 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2379 ((int)StackBehaviour.Push1 << OpCode.StackBehaviourPushShift) |
2380 (2 << OpCode.SizeShift) |
2381 (1 << OpCode.StackChangeShift)
2384 public static readonly OpCode Ldloca = new OpCode(OpCodeValues.Ldloca,
2385 ((int)OperandType.InlineVar) |
2386 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2387 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2388 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2389 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2390 (2 << OpCode.SizeShift) |
2391 (1 << OpCode.StackChangeShift)
2394 public static readonly OpCode Stloc = new OpCode(OpCodeValues.Stloc,
2395 ((int)OperandType.InlineVar) |
2396 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2397 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2398 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2399 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2400 (2 << OpCode.SizeShift) |
2401 (-1 << OpCode.StackChangeShift)
2404 public static readonly OpCode Localloc = new OpCode(OpCodeValues.Localloc,
2405 ((int)OperandType.InlineNone) |
2406 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2407 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2408 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
2409 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2410 (2 << OpCode.SizeShift) |
2411 (0 << OpCode.StackChangeShift)
2414 public static readonly OpCode Endfilter = new OpCode(OpCodeValues.Endfilter,
2415 ((int)OperandType.InlineNone) |
2416 ((int)FlowControl.Return << OpCode.FlowControlShift) |
2417 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2418 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
2419 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2420 (2 << OpCode.SizeShift) |
2421 OpCode.EndsUncondJmpBlkFlag |
2422 (-1 << OpCode.StackChangeShift)
2425 public static readonly OpCode Unaligned = new OpCode(OpCodeValues.Unaligned_,
2426 ((int)OperandType.ShortInlineI) |
2427 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2428 ((int)OpCodeType.Prefix << OpCode.OpCodeTypeShift) |
2429 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2430 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2431 (2 << OpCode.SizeShift) |
2432 (0 << OpCode.StackChangeShift)
2435 public static readonly OpCode Volatile = new OpCode(OpCodeValues.Volatile_,
2436 ((int)OperandType.InlineNone) |
2437 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2438 ((int)OpCodeType.Prefix << OpCode.OpCodeTypeShift) |
2439 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2440 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2441 (2 << OpCode.SizeShift) |
2442 (0 << OpCode.StackChangeShift)
2445 public static readonly OpCode Tailcall = new OpCode(OpCodeValues.Tail_,
2446 ((int)OperandType.InlineNone) |
2447 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2448 ((int)OpCodeType.Prefix << OpCode.OpCodeTypeShift) |
2449 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2450 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2451 (2 << OpCode.SizeShift) |
2452 (0 << OpCode.StackChangeShift)
2455 public static readonly OpCode Initobj = new OpCode(OpCodeValues.Initobj,
2456 ((int)OperandType.InlineType) |
2457 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2458 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
2459 ((int)StackBehaviour.Popi << OpCode.StackBehaviourPopShift) |
2460 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2461 (2 << OpCode.SizeShift) |
2462 (-1 << OpCode.StackChangeShift)
2465 public static readonly OpCode Constrained = new OpCode(OpCodeValues.Constrained_,
2466 ((int)OperandType.InlineType) |
2467 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2468 ((int)OpCodeType.Prefix << OpCode.OpCodeTypeShift) |
2469 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2470 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2471 (2 << OpCode.SizeShift) |
2472 (0 << OpCode.StackChangeShift)
2475 public static readonly OpCode Cpblk = new OpCode(OpCodeValues.Cpblk,
2476 ((int)OperandType.InlineNone) |
2477 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2478 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2479 ((int)StackBehaviour.Popi_popi_popi << OpCode.StackBehaviourPopShift) |
2480 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2481 (2 << OpCode.SizeShift) |
2482 (-3 << OpCode.StackChangeShift)
2485 public static readonly OpCode Initblk = new OpCode(OpCodeValues.Initblk,
2486 ((int)OperandType.InlineNone) |
2487 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2488 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2489 ((int)StackBehaviour.Popi_popi_popi << OpCode.StackBehaviourPopShift) |
2490 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2491 (2 << OpCode.SizeShift) |
2492 (-3 << OpCode.StackChangeShift)
2495 public static readonly OpCode Rethrow = new OpCode(OpCodeValues.Rethrow,
2496 ((int)OperandType.InlineNone) |
2497 ((int)FlowControl.Throw << OpCode.FlowControlShift) |
2498 ((int)OpCodeType.Objmodel << OpCode.OpCodeTypeShift) |
2499 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2500 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2501 (2 << OpCode.SizeShift) |
2502 OpCode.EndsUncondJmpBlkFlag |
2503 (0 << OpCode.StackChangeShift)
2506 public static readonly OpCode Sizeof = new OpCode(OpCodeValues.Sizeof,
2507 ((int)OperandType.InlineType) |
2508 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2509 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2510 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2511 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2512 (2 << OpCode.SizeShift) |
2513 (1 << OpCode.StackChangeShift)
2516 public static readonly OpCode Refanytype = new OpCode(OpCodeValues.Refanytype,
2517 ((int)OperandType.InlineNone) |
2518 ((int)FlowControl.Next << OpCode.FlowControlShift) |
2519 ((int)OpCodeType.Primitive << OpCode.OpCodeTypeShift) |
2520 ((int)StackBehaviour.Pop1 << OpCode.StackBehaviourPopShift) |
2521 ((int)StackBehaviour.Pushi << OpCode.StackBehaviourPushShift) |
2522 (2 << OpCode.SizeShift) |
2523 (0 << OpCode.StackChangeShift)
2526 public static readonly OpCode Readonly = new OpCode(OpCodeValues.Readonly_,
2527 ((int)OperandType.InlineNone) |
2528 ((int)FlowControl.Meta << OpCode.FlowControlShift) |
2529 ((int)OpCodeType.Prefix << OpCode.OpCodeTypeShift) |
2530 ((int)StackBehaviour.Pop0 << OpCode.StackBehaviourPopShift) |
2531 ((int)StackBehaviour.Push0 << OpCode.StackBehaviourPushShift) |
2532 (2 << OpCode.SizeShift) |
2533 (0 << OpCode.StackChangeShift)
2537 public static bool TakesSingleByteArgument(OpCode inst)
2539 switch (inst.OperandType)
2541 case OperandType.ShortInlineBrTarget:
2542 case OperandType.ShortInlineI:
2543 case OperandType.ShortInlineVar:
2544 return true;
2546 return false;