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
/// When overridden in a derived class, gets a buffer of integers that represent the number of elements in every dimension.
28
+
/// When overridden in a derived class, gets a buffer of integers that represent the number of elements in each dimension.
29
29
/// </summary>
30
-
/// <value>A buffer of integers that represent the number of elements in every dimension.</value>
30
+
/// <value>A buffer of integers that represent the number of elements in each dimension.</value>
31
31
publicabstractReadOnlySpan<int>Lengths{get;}
32
32
33
33
/// <summary>
@@ -65,9 +65,8 @@ internal bool IsJagged
65
65
/// <returns>An array filled with the data provided in the serialized records.</returns>
66
66
/// <exception cref="InvalidOperationException"><paramref name="expectedArrayType" /> does not match the data from the payload.</exception>
67
67
/// <remarks>
68
-
/// Check the total length of the array by using <see cref="Lengths"/> property before calling this method,
69
-
/// as an attacker could have sent you a small payload that will require to allocate a very large array
70
-
/// and potentially cause <see cref="OutOfMemoryException"/> and Denial of Service.
68
+
/// Before calling this method, check the total length of the array by using the <see cref="Lengths"/> property.
69
+
/// An attacker could have sent a small payload that requires allocation of a very large array, which could cause <see cref="OutOfMemoryException"/> and denial of service.
71
70
/// </remarks>
72
71
[RequiresDynamicCode("The code for an array of the specified type might not be available.")]
Copy file name to clipboardExpand all lines: src/libraries/System.Formats.Nrbf/src/System/Formats/Nrbf/ArraySingleObjectRecord.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
namespaceSystem.Formats.Nrbf;
11
11
12
12
/// <summary>
13
-
/// Represents a singledimensional array of <see cref="object" />.
13
+
/// Represents a single-dimensional array of <see cref="object" />.
14
14
/// </summary>
15
15
/// <remarks>
16
16
/// ArraySingleObject records are described in <see href="https://learn.microsoft.com/openspecs/windows_protocols/ms-nrbf/982b2f50-6367-402a-aaf2-44ee96e2a5e0">[MS-NRBF] 2.4.3.2</see>.
Copy file name to clipboardExpand all lines: src/libraries/System.Formats.Nrbf/src/System/Formats/Nrbf/ArraySingleStringRecord.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
namespaceSystem.Formats.Nrbf;
11
11
12
12
/// <summary>
13
-
/// Represents a singledimensional array of <see langword="string" />.
13
+
/// Represents a single-dimensional array of <see langword="string" />.
14
14
/// </summary>
15
15
/// <remarks>
16
16
/// ArraySingleString records are described in <see href="https://learn.microsoft.com/openspecs/windows_protocols/ms-nrbf/3d98fd60-d2b4-448a-ac0b-3cd8dea41f9d">[MS-NRBF] 2.4.3.4</see>.
Copy file name to clipboardExpand all lines: src/libraries/System.Formats.Nrbf/src/System/Formats/Nrbf/ClassTypeInfo.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
namespaceSystem.Formats.Nrbf;
10
10
11
11
/// <summary>
12
-
/// Identifies a class by its name and library id.
12
+
/// Identifies a class by its name and library ID.
13
13
/// </summary>
14
14
/// <remarks>
15
15
/// ClassTypeInfo structures are described in <see href="https://learn.microsoft.com/openspecs/windows_protocols/ms-nrbf/844b24dd-9f82-426e-9b98-05334307a239">[MS-NRBF] 2.1.1.8</see>.
0 commit comments