public BlockIterator(BlockLinkedList blockLinkedList) { if (blockLinkedList == null) { throw new ArgumentNullException(nameof(blockLinkedList)); } _blockLinkedList = blockLinkedList; }
/// <nodoc /> public bool Equals(BlockLinkedList other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (Count != other.Count) { return(false); } return(this.SequenceEqual(other)); }