Monobjc.Tools.Generator.Model.ClassEntity.GetHashValue C# (CSharp) Method

GetHashValue() public method

Serves as a hash function for a particular type.
public GetHashValue ( ) : int
return int
        public override int GetHashValue()
        {
            unchecked {
                int hash = base.GetHashValue();
                hash = hash * 23 + (this.AdditionFor != null ? this.AdditionFor.GetHashCode () : 0);
                hash = hash * 23 + (this.ConformsTo != null ? this.ConformsTo.GetHashCode () : 0);
                hash = hash * 23 + this.DelegateMethods.GetHashValue ();
                hash = hash * 23 + (this.Description != null ? this.Description.GetHashCode () : 0);
                hash = hash * 23 + this.Methods.GetHashValue ();
                hash = hash * 23 + this.Properties.GetHashValue ();
                return hash;
            }
        }