Example #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is FSharpMethodParameterBase parameter))
            {
                return(false);
            }

            return(Owner.Equals(parameter.Owner) &&
                   Index == parameter.Index);
        }
Example #2
0
        public override bool Equals(object obj)
        {
            if (!(obj is FSharpMethodParameter parameter))
            {
                return(false);
            }

            return(myParametersOwner.Equals(parameter.myParametersOwner) &&
                   myParameterIndex == parameter.myParameterIndex);
        }