You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 3.1.0 Opening some extensions methods to public (2019-01-13)
#### Features
* **ReadOnlySequence:**
* GetIntLength tests ([00327ef](00327ef))
* TryFillSpan method interface and tests ([e6c14ce](e6c14ce))
* GetFirst interface and tests. ([f73de91](f73de91))
* make some methods public ([7ef3b6c](7ef3b6c))
/// Returns first element of <paramref name="ros"/> or throws.
12
+
/// Takes possible empty segments into account.
13
+
/// Has shortcut for sequences from single-element.
14
+
/// </summary>
15
+
/// <param name="ros">Sequence</param>
16
+
/// <typeparam name="T">Type of elements</typeparam>
17
+
/// <returns>First element of sequence.</returns>
18
+
/// <exception cref="IndexOutOfRangeException">Thrown when <paramref name="ros"/> is empty</exception>
19
+
/// <exception cref="InvalidOperationException">When <see cref="ReadOnlySequence{T}.IsEmpty"/> is <c>false</c>, but sequence is still empty.</exception>
0 commit comments