Beispiel #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 BranchToShortForm(this XsILGenerator generator, string labelName)
        => generator.BranchToShortForm(generator.GetOrCreateLabel(labelName));