System.Reflection.Emit.Label.Equals C# (CSharp) Method

Equals() public method

public Equals ( System obj ) : bool
obj System
return bool
        public bool Equals(System.Reflection.Emit.Label obj) { throw null; }
        public override int GetHashCode() { throw null; }

Same methods

Label::Equals ( object obj ) : bool

Usage Example

示例#1
0
        //-----------------------------------------------
        // Labels
        //-----------------------------------------------

        /// <summary>
        /// Branch to lblBranch and anchor lblMark.  If lblBranch = lblMark, then no need
        /// to generate a "br" to the next instruction.
        /// </summary>
        public void BranchAndMark(Label lblBranch, Label lblMark)
        {
            if (!lblBranch.Equals(lblMark))
            {
                EmitUnconditionalBranch(OpCodes.Br, lblBranch);
            }
            MarkLabel(lblMark);
        }
All Usage Examples Of System.Reflection.Emit.Label::Equals