示例#1
0
        /// <summary>
        /// Defines a new label.
        ///
        /// This label can be used for branching, leave, and switch instructions.
        ///
        /// A label must be marked exactly once after being defined, using the MarkLabel() method.
        /// </summary>
        public Emit DefineLabel(out Label label, string name = null)
        {
            InnerEmit.DefineLabel(out label, name);

            return(this);
        }
示例#2
0
 /// <summary>
 /// Defines a new label.
 ///
 /// This label can be used for branching, leave, and switch instructions.
 ///
 /// A label must be marked exactly once after being defined, using the MarkLabel() method.
 /// </summary>
 public Label DefineLabel(string name = null)
 {
     return(InnerEmit.DefineLabel(name));
 }