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