public override bool Equals (object other)
{
return Equals (other as MemberName);
}
MemberName::Equals ( |
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)); }