Name

OpCodes

Synopsis

This class provides the set of MSIL instructions through static fields. Each field returns the OpCode object that represents the corresponding instruction, and can be used in the ILGenerator.Emit( ) method. For a detailed description of these opcodes, see Partition III, CIL of the ECMA CLI specification (http://msdn.microsoft.com/net/ecma/).

public class OpCodes {
// Public Static Fields
   public static readonly OpCode Add;    
// =add
   public static readonly OpCode Add_Ovf;
// =add.ovf
   public static readonly OpCode Add_Ovf_Un;          
// =add.ovf.un
   public static readonly OpCode And;    
// =and
   public static readonly OpCode Arglist;
// =arglist
   public static readonly OpCode Beq;    
// =beq
   public static readonly OpCode Beq_S;  
// =beq.s
   public static readonly OpCode Bge;    
// =bge
   public static readonly OpCode Bge_S;  
// =bge.s
   public static readonly OpCode Bge_Un; 
// =bge.un
   public static readonly OpCode Bge_Un_S;            
// =bge.un.s
   public static readonly OpCode Bgt;    
// =bgt
   public static readonly OpCode Bgt_S;  
// =bgt.s
   public static readonly OpCode Bgt_Un; 
// =bgt.un
   public static readonly OpCode Bgt_Un_S;            
// =bgt.un.s
   public static readonly OpCode Ble;    
// =ble
   public static readonly OpCode Ble_S;  
// =ble.s
   public static readonly OpCode Ble_Un; 
// =ble.un
   public static readonly OpCode Ble_Un_S;            
// =ble.un.s
   public static readonly OpCode Blt;    
// =blt
   public static readonly OpCode Blt_S;  
// =blt.s
   public static readonly OpCode Blt_Un; 
// =blt.un
   public static readonly OpCode Blt_Un_S;  ...

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.