/// <summary> /// Protocol for determining value equality in Ruby (uses IsTrue protocol on result of == call) /// </summary> public static bool IsEqual(BinaryOpStorage /*!*/ equals, object lhs, object rhs) { return(IsEqual(equals.GetCallSite("=="), lhs, rhs)); }
public static void Write(BinaryOpStorage /*!*/ writeStorage, object target, object value) { var site = writeStorage.GetCallSite("write"); site.Target(site, target, value); }
public EqualityComparer(UnaryOpStorage /*!*/ hashStorage, BinaryOpStorage /*!*/ eqlStorage) : this(hashStorage.GetCallSite("hash"), eqlStorage.GetCallSite("eql?")) { }