public int CompareTo(UInt16Tag other) { if (other == null) { return(-1); } return(this.Value.CompareTo(other.Value)); }
public bool Equals(UInt16Tag other) { if (ReferenceEquals(other, this)) { return(true); } if (ReferenceEquals(other, null)) { return(false); } return(this.Value == other.Value); }
public override bool Equals(Tag other) { UInt16Tag tag = other as UInt16Tag; return((tag != null) && this.Equals(tag)); }