public int CompareTo(RubySymbol other) { return(_string.CompareTo(other._string)); }
public static int Compare(string /*!*/ self, [NotNull] MutableString /*!*/ other) { // TODO: do not create MS return(-Math.Sign(other.CompareTo(MutableString.Create(self, RubyEncoding.UTF8)))); }
public static int Compare(RubyContext /*!*/ context, ClrName /*!*/ self, [NotNull] MutableString /*!*/ other) { // TODO: do not create MS return(-Math.Sign(other.CompareTo(GetRubyName(context, self)))); }
public static int Compare(string /*!*/ self, [NotNull] MutableString /*!*/ other) { return(-Math.Sign(other.CompareTo(self))); }