public override int GetHashCode() { if (Value == null) { return(0); } else { return(TypedValue.TrimEnd().ToLower().GetHashCode()); } }
public override bool Equals(object obj) { ONString lObj2 = obj as ONString; if ((Value == null) && (((object)lObj2 == null) || (lObj2.Value == null))) { return(true); } if ((Value == null) || (((object)lObj2 == null) || (lObj2.Value == null))) { return(false); } return(string.Compare(TypedValue.TrimEnd(), lObj2.TypedValue.TrimEnd(), true) == 0); }