Mono.CSharp.MemberName.Equals C# (CSharp) Method

Equals() public method

public Equals ( object other ) : bool
other object
return bool
		public override bool Equals (object other)
		{
			return Equals (other as MemberName);
		}

Same methods

MemberName::Equals ( MemberName other ) : bool

Usage Example

Example #1
0
        public bool Equals(MemberName other)
        {
            if (this == other)
            {
                return(true);
            }
            if (other == null || Name != other.Name)
            {
                return(false);
            }

            if ((TypeParameters != null) &&
                (other.TypeParameters == null || TypeParameters.Count != other.TypeParameters.Count))
            {
                return(false);
            }

            if ((TypeParameters == null) && (other.TypeParameters != null))
            {
                return(false);
            }

            if (Left == null)
            {
                return(other.Left == null);
            }

            return(Left.Equals(other.Left));
        }
All Usage Examples Of Mono.CSharp.MemberName::Equals