Esempio n. 1
0
 public static int Compare(RubySymbol /*!*/ self, [NotNull] RubySymbol /*!*/ other)
 {
     return(Math.Sign(self.CompareTo(other)));
 }
Esempio n. 2
0
 public static int Compare(RubyContext /*!*/ context, ClrName /*!*/ self, [NotNull] RubySymbol /*!*/ other)
 {
     // TODO: do not create MS
     return(-Math.Sign(other.CompareTo(GetRubyName(context, self))));
 }