private Eql ( BinaryOpStorage equalsStorage, |
||
equalsStorage | BinaryOpStorage | |
self | ||
other | [ | |
return | bool |
public static bool Eql(BinaryOpStorage/*!*/ equalsStorage, Range/*!*/ self, [NotNull]Range/*!*/ other) {
if (self == other) {
return true;
}
var site = equalsStorage.GetCallSite("eql?");
return Protocols.IsTrue(site.Target(site, self.Begin, other.Begin))
&& Protocols.IsTrue(site.Target(site, self.End, other.End))
&& self.ExcludeEnd == other.ExcludeEnd;
}