|
542 | 542 | ]]></format>
|
543 | 543 | </remarks>
|
544 | 544 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached before <paramref name="numBytes" /> could be read.</exception>
|
545 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 545 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
546 | 546 | <exception cref="T:System.ArgumentOutOfRangeException">Requested <paramref name="numBytes" /> is larger than the internal buffer size.</exception>
|
547 | 547 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
548 | 548 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
|
597 | 597 |
|
598 | 598 | ]]></format>
|
599 | 599 | </remarks>
|
600 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 600 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
601 | 601 | <exception cref="T:System.ArgumentException">The current character cannot be decoded into the internal character buffer by using the <see cref="T:System.Text.Encoding" /> selected for the stream.</exception>
|
602 | 602 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
603 | 603 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
|
672 | 672 |
|
673 | 673 | ]]></format>
|
674 | 674 | </remarks>
|
675 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 675 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
676 | 676 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
677 | 677 | <altmember cref="T:System.Text.Encoding" />
|
678 | 678 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
|
709 | 709 | <Parameter Name="buffer" Type="System.Span<System.Byte>" Index="0" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
|
710 | 710 | </Parameters>
|
711 | 711 | <Docs>
|
712 |
| - <param name="buffer">To be added.</param> |
713 |
| - <summary>To be added.</summary> |
714 |
| - <returns>To be added.</returns> |
| 712 | + <param name="buffer">A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current source.</param> |
| 713 | + <summary>Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</summary> |
| 714 | + <returns>The total number of bytes read into the buffer. This can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</returns> |
715 | 715 | <remarks>To be added.</remarks>
|
| 716 | + <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception> |
| 717 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
716 | 718 | </Docs>
|
717 | 719 | </Member>
|
718 | 720 | <Member MemberName="Read">
|
|
744 | 746 | <Parameter Name="buffer" Type="System.Span<System.Char>" Index="0" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
|
745 | 747 | </Parameters>
|
746 | 748 | <Docs>
|
747 |
| - <param name="buffer">To be added.</param> |
748 |
| - <summary>To be added.</summary> |
749 |
| - <returns>To be added.</returns> |
| 749 | + <param name="buffer">A span of characters. When this method returns, the contents of this region are replaced by the characters read from the current source.</param> |
| 750 | + <summary>Reads, from the current stream, the same number of characters as the length of the provided buffer, writes them in the provided buffer, and advances the current position in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary> |
| 751 | + <returns>The total number of characters read into the buffer. This might be less than the number of characters requested if that many characters are not currently available, or it might be zero if the end of the stream is reached.</returns> |
750 | 752 | <remarks>To be added.</remarks>
|
| 753 | + <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception> |
| 754 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
751 | 755 | </Docs>
|
752 | 756 | </Member>
|
753 | 757 | <Member MemberName="Read">
|
|
823 | 827 | -or-
|
824 | 828 |
|
825 | 829 | The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
826 |
| - <exception cref="T:System.ArgumentNullException"> |
827 |
| - <paramref name="buffer" /> is <see langword="null" />.</exception> |
828 |
| - <exception cref="T:System.ArgumentOutOfRangeException"> |
829 |
| - <paramref name="index" /> or <paramref name="count" /> is negative.</exception> |
| 830 | + <exception cref="T:System.ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> |
| 831 | + <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> or <paramref name="count" /> is negative.</exception> |
830 | 832 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
831 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 833 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
832 | 834 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
833 | 835 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
834 | 836 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
908 | 910 | -or-
|
909 | 911 |
|
910 | 912 | The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
911 |
| - <exception cref="T:System.ArgumentNullException"> |
912 |
| - <paramref name="buffer" /> is <see langword="null" />.</exception> |
913 |
| - <exception cref="T:System.ArgumentOutOfRangeException"> |
914 |
| - <paramref name="index" /> or <paramref name="count" /> is negative.</exception> |
| 913 | + <exception cref="T:System.ArgumentNullException"><paramref name="buffer" /> is <see langword="null" />.</exception> |
| 914 | + <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> or <paramref name="count" /> is negative.</exception> |
915 | 915 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
916 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 916 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
917 | 917 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
918 | 918 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
919 | 919 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
975 | 975 | </remarks>
|
976 | 976 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
977 | 977 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
978 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 978 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
979 | 979 | <exception cref="T:System.FormatException">The stream is corrupted.</exception>
|
980 | 980 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
981 | 981 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
|
1046 | 1046 | </remarks>
|
1047 | 1047 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1048 | 1048 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1049 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1049 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1050 | 1050 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1051 | 1051 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1052 | 1052 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1119 | 1119 | </remarks>
|
1120 | 1120 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1121 | 1121 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1122 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1122 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1123 | 1123 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1124 | 1124 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1125 | 1125 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1196 | 1196 | ]]></format>
|
1197 | 1197 | </remarks>
|
1198 | 1198 | <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
1199 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1199 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1200 | 1200 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1201 | 1201 | <exception cref="T:System.ArgumentOutOfRangeException">
|
1202 | 1202 | <paramref name="count" /> is negative.</exception>
|
|
1272 | 1272 | </remarks>
|
1273 | 1273 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1274 | 1274 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1275 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1275 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1276 | 1276 | <exception cref="T:System.ArgumentException">A surrogate character was read.</exception>
|
1277 | 1277 | <altmember cref="T:System.Text.Encoding" />
|
1278 | 1278 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
|
1347 | 1347 | </remarks>
|
1348 | 1348 | <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
1349 | 1349 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1350 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
1351 |
| - <exception cref="T:System.ArgumentOutOfRangeException"> |
1352 |
| - <paramref name="count" /> is negative.</exception> |
| 1350 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
| 1351 | + <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="count" /> is negative.</exception> |
1353 | 1352 | <altmember cref="T:System.Text.Encoding" />
|
1354 | 1353 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1355 | 1354 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
|
1406 | 1405 | </remarks>
|
1407 | 1406 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1408 | 1407 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1409 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1408 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1410 | 1409 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1411 | 1410 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1412 | 1411 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1478 | 1477 | </remarks>
|
1479 | 1478 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1480 | 1479 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1481 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1480 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1482 | 1481 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1483 | 1482 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1484 | 1483 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1541 | 1540 | </remarks>
|
1542 | 1541 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1543 | 1542 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1544 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1543 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1545 | 1544 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1546 | 1545 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1547 | 1546 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1607 | 1606 | </remarks>
|
1608 | 1607 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1609 | 1608 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1610 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1609 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1611 | 1610 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1612 | 1611 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1613 | 1612 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1665 | 1664 | </remarks>
|
1666 | 1665 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1667 | 1666 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1668 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1667 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1669 | 1668 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1670 | 1669 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1671 | 1670 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1729 | 1728 | </remarks>
|
1730 | 1729 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1731 | 1730 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1732 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1731 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1733 | 1732 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1734 | 1733 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1735 | 1734 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1800 | 1799 | </remarks>
|
1801 | 1800 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1802 | 1801 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1803 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1802 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1804 | 1803 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1805 | 1804 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1806 | 1805 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1869 | 1868 | </remarks>
|
1870 | 1869 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1871 | 1870 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1872 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1871 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1873 | 1872 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1874 | 1873 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1875 | 1874 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1932 | 1931 | </remarks>
|
1933 | 1932 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1934 | 1933 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1935 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1934 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1936 | 1935 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
1937 | 1936 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
1938 | 1937 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
1995 | 1994 | </remarks>
|
1996 | 1995 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
1997 | 1996 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
1998 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 1997 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
1999 | 1998 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
2000 | 1999 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
2001 | 2000 | <related type="Article" href="~/docs/standard/io/how-to-write-text-to-a-file.md">How to: Write Text to a File</related>
|
|
2057 | 2056 | ]]></format>
|
2058 | 2057 | </remarks>
|
2059 | 2058 | <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
2060 |
| - <exception cref="T:System.IO.IOException">An I/O error occurs.</exception> |
| 2059 | + <exception cref="T:System.IO.IOException">An I/O error occurred.</exception> |
2061 | 2060 | <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
2062 | 2061 | <related type="Article" href="~/docs/standard/io/index.md">File and Stream I/O</related>
|
2063 | 2062 | <related type="Article" href="~/docs/standard/io/how-to-read-text-from-a-file.md">How to: Read Text from a File</related>
|
|
0 commit comments