ARCed.Scintilla.Annotation.Equals C# (CSharp) Method

Equals() public method

Determines whether the specified Annotation is equal to the current Annotation.
public Equals ( Annotation a ) : bool
a Annotation The annotation to compare with the current annotation.
return bool
        public virtual bool Equals(Annotation a)
        {
            // Per Microsoft's recommendations we have an Equals for
            // our specific type "to enhance performance".

            if (a != null)
            {
                // Just remember to keep in sync with standard Equals above
                if (a._scintilla == this._scintilla && a._lineIndex == this._lineIndex)
                    return true;
            }

            return false;
        }

Same methods

Annotation::Equals ( object obj ) : bool