Skip to content

Commit 4830156

Browse files
committed
Update SemaphoreSlim TimeSpan milliseconds limit
1 parent b314392 commit 4830156

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

xml/System.Threading/SemaphoreSlim.xml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -822,11 +822,7 @@ If a thread or task is blocked when calling <xref:System.Threading.SemaphoreSlim
822822
]]></format>
823823
</remarks>
824824
<exception cref="T:System.ArgumentOutOfRangeException">
825-
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
826-
827-
-or-
828-
829-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
825+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.</exception>
830826
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed.</exception>
831827
<related type="Article" href="/dotnet/standard/threading/semaphore-and-semaphoreslim">Semaphore and SemaphoreSlim</related>
832828
</Docs>
@@ -986,11 +982,7 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
986982
<exception cref="T:System.OperationCanceledException">
987983
<paramref name="cancellationToken" /> was canceled.</exception>
988984
<exception cref="T:System.ArgumentOutOfRangeException">
989-
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
990-
991-
-or-.
992-
993-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
985+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.</exception>
994986
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed.
995987

996988
-or-
@@ -1221,11 +1213,7 @@ The <see cref="T:System.Threading.CancellationTokenSource" /> that created <para
12211213
</remarks>
12221214
<exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
12231215
<exception cref="T:System.ArgumentOutOfRangeException">
1224-
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
1225-
1226-
-or-
1227-
1228-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
1216+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.</exception>
12291217
</Docs>
12301218
</Member>
12311219
<Member MemberName="WaitAsync">
@@ -1352,11 +1340,7 @@ The <see cref="T:System.Threading.CancellationTokenSource" /> that created <para
13521340
]]></format>
13531341
</remarks>
13541342
<exception cref="T:System.ArgumentOutOfRangeException">
1355-
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
1356-
1357-
-or-
1358-
1359-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
1343+
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.</exception>
13601344
<exception cref="T:System.OperationCanceledException">
13611345
<paramref name="cancellationToken" /> was canceled.</exception>
13621346
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> has been disposed.</exception>

0 commit comments

Comments
 (0)