public bool Equals()

in SharpGen/Model/InteropMethodSignature.cs [113:131]


        public bool Equals(InteropMethodSignature other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;

            if (!Equals(ReturnType, other.ReturnType)) return false;
            if (CallingConvention != other.CallingConvention) return false;
            if (Flags != other.Flags) return false;
            if (ParameterTypes.Count != other.ParameterTypes.Count) return false;

            var typeComparer = InteropMethodSignatureParameter.TypeComparer;

            for (var i = 0; i < ParameterTypes.Count; i++)
            {
                if (!typeComparer.Equals(ParameterTypes[i], other.ParameterTypes[i])) return false;
            }

            return true;
        }