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
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/System.Memory/src/System/ReadOnlySpan.Portable.cs
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,16 @@ public readonly ref partial struct ReadOnlySpan<T>
23
23
/// Creates a new read-only span over the entirety of the target array.
24
24
/// </summary>
25
25
/// <param name="array">The target array.</param>
26
-
/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="array"/> is a null
27
-
/// reference (Nothing in Visual Basic).</exception>
26
+
/// <remarks>Returns default when <paramref name="array"/> is null.</remarks>
28
27
/// <exception cref="System.ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
/// <param name="start">The index at which to begin the read-only span.</param>
46
48
/// <param name="length">The number of items in the read-only span.</param>
47
-
/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="array"/> is a null
48
-
/// reference (Nothing in Visual Basic).</exception>
49
+
/// <remarks>Returns default when <paramref name="array"/> is null.</remarks>
49
50
/// <exception cref="System.ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
Copy file name to clipboardExpand all lines: src/System.Memory/src/System/Span.Portable.cs
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,16 @@ public readonly ref partial struct Span<T>
23
23
/// Creates a new span over the entirety of the target array.
24
24
/// </summary>
25
25
/// <param name="array">The target array.</param>
26
-
/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="array"/> is a null
27
-
/// reference (Nothing in Visual Basic).</exception>
26
+
/// <remarks>Returns default when <paramref name="array"/> is null.</remarks>
28
27
/// <exception cref="System.ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
/// <param name="start">The index at which to begin the span.</param>
48
50
/// <param name="length">The number of items in the span.</param>
49
-
/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="array"/> is a null
50
-
/// reference (Nothing in Visual Basic).</exception>
51
+
/// <remarks>Returns default when <paramref name="array"/> is null.</remarks>
51
52
/// <exception cref="System.ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
0 commit comments