public static bool IsEqual(this CookieCollection @this, CookieCollection other) { if (!(@this != null && other != null && @this.Count == other.Count)) { return(false); } return(@this.CheckSequenceEquals(other)); }
public static void IsEqual(this CookieCollection @this, CookieCollection other, bool isSamePlatform) { if (@this == null && other == null) { return; } Assert.NotNull(@this); Assert.NotNull(other); Assert.Equal(@this.Count, other.Count); @this.CheckSequenceEquals(other, isSamePlatform); }