Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edcec89

Browse files
authored
fix broken exception block (dotnet#3547)
* fix broken exception block * one more fix * one more * some more * one more fix
1 parent c53cd6f commit edcec89

File tree

3 files changed

+70
-40
lines changed

3 files changed

+70
-40
lines changed

xml/System.Net.Security/SslStream.xml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,15 +1891,15 @@
18911891
<exception cref="T:System.ArgumentNullException">
18921892
<paramref name="buffer" /> is <see langword="null" />.</exception>
18931893
<exception cref="T:System.ArgumentException">
1894-
<paramref name="offset" />
1895-
<paramref name="&lt;" />
1896-
<paramref name="0" />.
1897-
1898-
<paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
1899-
1900-
-or-
1894+
<paramref name="offset" /> is less than zero.
1895+
1896+
-or-
1897+
1898+
<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
1899+
1900+
-or-
19011901

1902-
<paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
1902+
<paramref name="offset" /> + count is greater than the length of <paramref name="buffer" />.</exception>
19031903
<exception cref="T:System.IO.IOException">The read operation failed.
19041904

19051905
-or-
@@ -1968,15 +1968,15 @@
19681968
<exception cref="T:System.ArgumentNullException">
19691969
<paramref name="buffer" /> is <see langword="null" />.</exception>
19701970
<exception cref="T:System.ArgumentException">
1971-
<paramref name="offset" />
1972-
<paramref name="&lt;" />
1973-
<paramref name="0" />.
1971+
<paramref name="offset" /> is less than zero.
19741972

1975-
<paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
1973+
-or-
1974+
1975+
<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
19761976

1977-
-or-
1977+
-or-
19781978

1979-
<paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
1979+
<paramref name="offset" /> + count is greater than the length of <paramref name="buffer" />.</exception>
19801980
<exception cref="T:System.IO.IOException">The write operation failed.</exception>
19811981
<exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
19821982
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
@@ -3578,15 +3578,15 @@ This property gets the cipher suite that is going to be used in the communicatio
35783578
<exception cref="T:System.ArgumentNullException">
35793579
<paramref name="buffer" /> is <see langword="null" />.</exception>
35803580
<exception cref="T:System.ArgumentException">
3581-
<paramref name="offset" />
3582-
<paramref name="&lt;" />
3583-
<paramref name="0" />.
3584-
3585-
<paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
3581+
<paramref name="offset" /> is less than zero.
35863582

3587-
-or-
3588-
3589-
<paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
3583+
-or-
3584+
3585+
<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
3586+
3587+
-or-
3588+
3589+
<paramref name="offset" /> + count is greater than the length of <paramref name="buffer" />.</exception>
35903590
<exception cref="T:System.IO.IOException">The read operation failed. Check the inner exception, if present to determine the cause of the failure.</exception>
35913591
<exception cref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
35923592
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
@@ -4202,15 +4202,15 @@ This property gets the cipher suite that is going to be used in the communicatio
42024202
<exception cref="T:System.ArgumentNullException">
42034203
<paramref name="buffer" /> is <see langword="null" />.</exception>
42044204
<exception cref="T:System.ArgumentException">
4205-
<paramref name="offset" />
4206-
<paramref name="&lt;" />
4207-
<paramref name="0" />.
4208-
4209-
<paramref name="-or-" /><paramref name="offset" /> &gt; the length of <paramref name="buffer" />.
4205+
<paramref name="offset" /> is less than zero.
4206+
4207+
-or-
4208+
4209+
<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
42104210

42114211
-or-
42124212

4213-
<paramref name="offset" /> + count &gt; the length of <paramref name="buffer" />.</exception>
4213+
<paramref name="offset" /> + count is greater than the length of <paramref name="buffer" />.</exception>
42144214
<exception cref="T:System.IO.IOException">The write operation failed.</exception>
42154215
<exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
42164216
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>

xml/System.Threading/SemaphoreSlim.xml

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,12 @@ If a thread or task is blocked when calling <xref:System.Threading.SemaphoreSlim
695695
]]></format>
696696
</remarks>
697697
<exception cref="T:System.ArgumentOutOfRangeException">
698-
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
699-
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed <paramref name="." /></exception>
698+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
699+
700+
-or-
701+
702+
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
703+
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed.</exception>
700704
<related type="Article" href="~/docs/standard/threading/semaphore-and-semaphoreslim.md">Semaphore and SemaphoreSlim</related>
701705
</Docs>
702706
</Member>
@@ -759,7 +763,11 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operati
759763
<exception cref="T:System.OperationCanceledException">
760764
<paramref name="cancellationToken" /> was canceled.</exception>
761765
<exception cref="T:System.ArgumentOutOfRangeException">
762-
<paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
766+
<paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout.
767+
768+
-or-
769+
770+
<paramref name="millisecondsTimeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
763771
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> instance has been disposed, or the <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed.</exception>
764772
<related type="Article" href="~/docs/standard/threading/semaphore-and-semaphoreslim.md">Semaphore and SemaphoreSlim</related>
765773
</Docs>
@@ -823,10 +831,16 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
823831
<exception cref="T:System.OperationCanceledException">
824832
<paramref name="cancellationToken" /> was canceled.</exception>
825833
<exception cref="T:System.ArgumentOutOfRangeException">
826-
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
827-
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed <paramref name="." /><paramref name="-or-" />
828-
829-
The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
834+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
835+
836+
-or-.
837+
838+
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
839+
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed.
840+
841+
-or-
842+
843+
The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
830844
<related type="Article" href="~/docs/standard/threading/semaphore-and-semaphoreslim.md">Semaphore and SemaphoreSlim</related>
831845
<related type="Article" href="~/docs/standard/threading/cancellation-in-managed-threads.md">Cancellation</related>
832846
</Docs>
@@ -925,7 +939,11 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
925939
</remarks>
926940
<exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
927941
<exception cref="T:System.ArgumentOutOfRangeException">
928-
<paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
942+
<paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout.
943+
944+
-or-
945+
946+
<paramref name="millisecondsTimeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
929947
</Docs>
930948
</Member>
931949
<Member MemberName="WaitAsync">
@@ -1015,7 +1033,11 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
10151033
</remarks>
10161034
<exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
10171035
<exception cref="T:System.ArgumentOutOfRangeException">
1018-
<paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
1036+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
1037+
1038+
-or-
1039+
1040+
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
10191041
</Docs>
10201042
</Member>
10211043
<Member MemberName="WaitAsync">
@@ -1065,7 +1087,11 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
10651087
]]></format>
10661088
</remarks>
10671089
<exception cref="T:System.ArgumentOutOfRangeException">
1068-
<paramref name="millisecondsTimeout" /> is a number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
1090+
<paramref name="millisecondsTimeout" /> is a number other than -1, which represents an infinite timeout.
1091+
1092+
-or-
1093+
1094+
<paramref name="millisecondsTimeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
10691095
<exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
10701096
<exception cref="T:System.OperationCanceledException">
10711097
<paramref name="cancellationToken" /> was canceled.</exception>
@@ -1118,7 +1144,11 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
11181144
]]></format>
11191145
</remarks>
11201146
<exception cref="T:System.ArgumentOutOfRangeException">
1121-
<paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
1147+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
1148+
1149+
-or-
1150+
1151+
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
11221152
<exception cref="T:System.OperationCanceledException">
11231153
<paramref name="cancellationToken" /> was canceled.</exception>
11241154
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> has been disposed.</exception>

xml/System.Windows.Forms/ColumnHeaderConverter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
<summary>Converts the specified object to the specified type, using the specified context and culture information.</summary>
109109
<returns>The <see cref="T:System.Object" /> that is the result of the conversion.</returns>
110110
<remarks>To be added.</remarks>
111-
<exception cref="T:System.NotSupportedException">The conversion cannot be performed <paramref name="." /></exception>
111+
<exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
112112
</Docs>
113113
</Member>
114114
</Members>

0 commit comments

Comments
 (0)