System.Xml.Xsl.Runtime.XmlExtensionFunction.Equals C# (CSharp) Method

Equals() public method

Return true if this XmlExtensionFunction has the same values as another XmlExtensionFunction.
public Equals ( object other ) : bool
other object
return bool
        public override bool Equals(object other) {
            XmlExtensionFunction that = other as XmlExtensionFunction;
            Debug.Assert(that != null);

            // Compare name, argument count, object type, and binding flags
            return (this.hashCode == that.hashCode && this.name == that.name && this.namespaceUri == that.namespaceUri &&
                    this.numArgs == that.numArgs && this.objectType == that.objectType && this.flags == that.flags);
        }