|
639 | 639 | </ReturnValue>
|
640 | 640 | <Parameters />
|
641 | 641 | <Docs>
|
642 |
| - <summary>To be added.</summary> |
643 |
| - <returns>To be added.</returns> |
| 642 | + <summary>Returns an enumerator that can be used to iterate through the array segment.</summary> |
| 643 | + <returns>An enumerator that can be used to iterate through the array segment.</returns> |
644 | 644 | <remarks>To be added.</remarks>
|
| 645 | + <exception cref="T:System.InvalidOperationException">The underlying array is <see langword="null" />.</exception> |
645 | 646 | </Docs>
|
646 | 647 | </Member>
|
647 | 648 | <Member MemberName="GetHashCode">
|
|
712 | 713 | <Parameter Name="index" Type="System.Int32" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
|
713 | 714 | </Parameters>
|
714 | 715 | <Docs>
|
715 |
| - <param name="index">To be added.</param> |
716 |
| - <summary>To be added.</summary> |
717 |
| - <value>To be added.</value> |
| 716 | + <param name="index">The zero-based index of the element to get or set.</param> |
| 717 | + <summary>Gets or sets the element at the specified index.</summary> |
| 718 | + <value>The element at the specified index.</value> |
718 | 719 | <remarks>To be added.</remarks>
|
| 720 | + <exception cref="T:System.ArgumentOutOfRangeException"> |
| 721 | + <paramref name="index" /> is not a valid index in the <see cref="T:System.ArraySegment`1" />.</exception> |
719 | 722 | </Docs>
|
720 | 723 | </Member>
|
721 | 724 | <Member MemberName="Offset">
|
|
1020 | 1023 | </Parameters>
|
1021 | 1024 | <Docs>
|
1022 | 1025 | <param name="item">The object to add to the array segment.</param>
|
1023 |
| - <summary>Adds an item to the array segment.</summary> |
1024 |
| - <remarks> |
1025 |
| - <format type="text/markdown"><![CDATA[ |
1026 |
| - |
1027 |
| -## Remarks |
1028 |
| - This member is an explicit interface member implementation. It can be used only when the <xref:System.ArraySegment%601> instance is cast to an <xref:System.Collections.Generic.ICollection%601> interface. |
1029 |
| - |
1030 |
| - ]]></format> |
1031 |
| - </remarks> |
1032 |
| - <exception cref="T:System.NotSupportedException">The array segment is read-only.</exception> |
| 1026 | + <summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary> |
| 1027 | + <returns>Always throws an exception.</returns> |
| 1028 | + <remarks>This method always throws a <see cref="T:System.NotSupportedException" /> because an array segment cannot be expanded.</remarks> |
| 1029 | + <exception cref="T:System.NotSupportedException">In all cases.</exception> |
1033 | 1030 | </Docs>
|
1034 | 1031 | </Member>
|
1035 | 1032 | <Member MemberName="System.Collections.Generic.ICollection<T>.Clear">
|
|
1066 | 1063 | </ReturnValue>
|
1067 | 1064 | <Parameters />
|
1068 | 1065 | <Docs>
|
1069 |
| - <summary>Removes all items from the array segment.</summary> |
1070 |
| - <remarks> |
1071 |
| - <format type="text/markdown"><![CDATA[ |
1072 |
| - |
1073 |
| -## Remarks |
1074 |
| - This member is an explicit interface member implementation. It can be used only when the <xref:System.ArraySegment%601> instance is cast to an <xref:System.Collections.Generic.ICollection%601> interface. |
1075 |
| - |
1076 |
| - ]]></format> |
1077 |
| - </remarks> |
1078 |
| - <exception cref="T:System.NotSupportedException">The array segment is read-only.</exception> |
| 1066 | + <summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary> |
| 1067 | + <returns>Always throws an exception.</returns> |
| 1068 | + <remarks>This method always throws a <see cref="T:System.NotSupportedException" /> because an array segment cannot be contracted.</remarks> |
| 1069 | + <exception cref="T:System.NotSupportedException">In all cases.</exception> |
1079 | 1070 | </Docs>
|
1080 | 1071 | </Member>
|
1081 | 1072 | <Member MemberName="System.Collections.Generic.ICollection<T>.Contains">
|
|
1126 | 1117 |
|
1127 | 1118 | ]]></format>
|
1128 | 1119 | </remarks>
|
| 1120 | + <exception cref="T:System.InvalidOperationException">The underlying array is <see langword="null" />.</exception> |
1129 | 1121 | </Docs>
|
1130 | 1122 | </Member>
|
1131 | 1123 | <Member MemberName="System.Collections.Generic.ICollection<T>.CopyTo">
|
|
1188 | 1180 | -or-
|
1189 | 1181 |
|
1190 | 1182 | Type <paramref name="T" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
| 1183 | + <exception cref="T:System.InvalidOperationException">The underlying array for this <see cref="T:System.ArraySegment`1" /> instance is <see langword="null" />.</exception> |
1191 | 1184 | </Docs>
|
1192 | 1185 | </Member>
|
1193 | 1186 | <Member MemberName="System.Collections.Generic.ICollection<T>.IsReadOnly">
|
|
1274 | 1267 | </Parameters>
|
1275 | 1268 | <Docs>
|
1276 | 1269 | <param name="item">The object to remove from the array segment.</param>
|
1277 |
| - <summary>Removes the first occurrence of a specific object from the array segment.</summary> |
1278 |
| - <returns> |
1279 |
| - <see langword="true" /> if <paramref name="item" /> was successfully removed from the array segment; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the array segment.</returns> |
1280 |
| - <remarks> |
1281 |
| - <format type="text/markdown"><![CDATA[ |
1282 |
| - |
1283 |
| -## Remarks |
1284 |
| - This member is an explicit interface member implementation. It can be used only when the <xref:System.ArraySegment%601> instance is cast to an <xref:System.Collections.Generic.ICollection%601> interface. |
1285 |
| - |
1286 |
| - ]]></format> |
1287 |
| - </remarks> |
1288 |
| - <exception cref="T:System.NotSupportedException">The array segment is read-only.</exception> |
| 1270 | + <summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary> |
| 1271 | + <returns>Always throws an exception.</returns> |
| 1272 | + <remarks>This method always throws a <see cref="T:System.NotSupportedException" /> because an array segment cannot be contracted.</remarks> |
| 1273 | + <exception cref="T:System.NotSupportedException">In all cases.</exception> |
1289 | 1274 | </Docs>
|
1290 | 1275 | </Member>
|
1291 | 1276 | <Member MemberName="System.Collections.Generic.IEnumerable<T>.GetEnumerator">
|
|
1332 | 1317 |
|
1333 | 1318 | ]]></format>
|
1334 | 1319 | </remarks>
|
| 1320 | + <exception cref="T:System.InvalidOperationException">The underlying array is <see langword="null" />.</exception> |
1335 | 1321 | </Docs>
|
1336 | 1322 | </Member>
|
1337 | 1323 | <Member MemberName="System.Collections.Generic.IList<T>.IndexOf">
|
|
1381 | 1367 |
|
1382 | 1368 | ]]></format>
|
1383 | 1369 | </remarks>
|
| 1370 | + <exception cref="T:System.InvalidOperationException">The underlying array is <see langword="null" />.</exception> |
1384 | 1371 | </Docs>
|
1385 | 1372 | </Member>
|
1386 | 1373 | <Member MemberName="System.Collections.Generic.IList<T>.Insert">
|
|
1422 | 1409 | <Docs>
|
1423 | 1410 | <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
|
1424 | 1411 | <param name="item">The object to insert into the array segment.</param>
|
1425 |
| - <summary>Inserts an item into the array segment at the specified index.</summary> |
1426 |
| - <remarks> |
1427 |
| - <format type="text/markdown"><![CDATA[ |
1428 |
| - |
1429 |
| -## Remarks |
1430 |
| - This member is an explicit interface member implementation. It can be used only when the <xref:System.ArraySegment%601> instance is cast to an <xref:System.Collections.Generic.IList%601> interface. |
1431 |
| - |
1432 |
| - ]]></format> |
1433 |
| - </remarks> |
1434 |
| - <exception cref="T:System.ArgumentOutOfRangeException"> |
1435 |
| - <paramref name="index" /> is not a valid index in the array segment.</exception> |
1436 |
| - <exception cref="T:System.NotSupportedException">The array segment is read-only.</exception> |
| 1412 | + <summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary> |
| 1413 | + <returns>Always throws an exception.</returns> |
| 1414 | + <remarks>This method always throws a <see cref="T:System.NotSupportedException" /> because an array segment cannot be expanded.</remarks> |
| 1415 | + <exception cref="T:System.NotSupportedException">In all cases.</exception> |
1437 | 1416 | </Docs>
|
1438 | 1417 | </Member>
|
1439 | 1418 | <Member MemberName="System.Collections.Generic.IList<T>.Item">
|
|
1529 | 1508 | </Parameters>
|
1530 | 1509 | <Docs>
|
1531 | 1510 | <param name="index">The zero-based index of the item to remove.</param>
|
1532 |
| - <summary>Removes the array segment item at the specified index.</summary> |
1533 |
| - <remarks> |
1534 |
| - <format type="text/markdown"><![CDATA[ |
1535 |
| - |
1536 |
| -## Remarks |
1537 |
| - This member is an explicit interface member implementation. It can be used only when the <xref:System.ArraySegment%601> instance is cast to an <xref:System.Collections.Generic.IList%601> interface. |
1538 |
| - |
1539 |
| - ]]></format> |
1540 |
| - </remarks> |
1541 |
| - <exception cref="T:System.ArgumentOutOfRangeException"> |
1542 |
| - <paramref name="index" /> is not a valid index in the array segment.</exception> |
1543 |
| - <exception cref="T:System.NotSupportedException">The array segment is read-only.</exception> |
| 1511 | + <summary>Throws a <see cref="T:System.NotSupportedException" /> exception in all cases.</summary> |
| 1512 | + <returns>Always throws an exception.</returns> |
| 1513 | + <remarks>This method always throws a <see cref="T:System.NotSupportedException" /> because an array segment cannot be contracted.</remarks> |
| 1514 | + <exception cref="T:System.NotSupportedException">In all cases.</exception> |
1544 | 1515 | </Docs>
|
1545 | 1516 | </Member>
|
1546 | 1517 | <Member MemberName="System.Collections.Generic.IReadOnlyList<T>.Item">
|
|
1593 | 1564 | </remarks>
|
1594 | 1565 | <exception cref="T:System.ArgumentOutOfRangeException">
|
1595 | 1566 | <paramref name="index" /> is not a valid index in the <see cref="T:System.ArraySegment`1" />.</exception>
|
| 1567 | + <exception cref="T:System.InvalidOperationException">The underlying array is <see langword="null" />.</exception> |
1596 | 1568 | <exception cref="T:System.NotSupportedException">The property is set.</exception>
|
1597 | 1569 | </Docs>
|
1598 | 1570 | </Member>
|
|
1640 | 1612 |
|
1641 | 1613 | ]]></format>
|
1642 | 1614 | </remarks>
|
| 1615 | + <exception cref="T:System.InvalidOperationException">The underlying array is <see langword="null" />.</exception> |
1643 | 1616 | </Docs>
|
1644 | 1617 | </Member>
|
1645 | 1618 | <Member MemberName="ToArray">
|
|
1667 | 1640 | </ReturnValue>
|
1668 | 1641 | <Parameters />
|
1669 | 1642 | <Docs>
|
1670 |
| - <summary>To be added.</summary> |
1671 |
| - <returns>To be added.</returns> |
| 1643 | + <summary>Copies the contents of this array segment into a new array.</summary> |
| 1644 | + <returns>An array containing the data in the current array segment.</returns> |
1672 | 1645 | <remarks>To be added.</remarks>
|
| 1646 | + <exception cref="T:System.InvalidOperationException"><c>default(ArraySegment<T>)</c> cannot be converted to an array.</exception> |
1673 | 1647 | </Docs>
|
1674 | 1648 | </Member>
|
1675 | 1649 | </Members>
|
|
0 commit comments