Exemplo n.º 1
0
        /// <summary>
        /// Branch unconditionally to the given label
        /// </summary>
        /// <param name="generator">The <see cref="T:System.Reflection.Emit.XsILGenerator" /> to emit instructions from</param>
        /// <param name="labelName">The name of the fluently-specified label</param>

        public static XsILGenerator BranchTo(this XsILGenerator generator, string labelName)
        => generator.BranchTo(generator.GetOrCreateLabel(labelName));