Skip to content

Commit 20eb01c

Browse files
authored
Update SemaphoreSlim TimeSpan milliseconds limit (#11677)
1 parent eace29b commit 20eb01c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

xml/System.Threading/SemaphoreSlim.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ If a thread or task is blocked when calling <xref:System.Threading.SemaphoreSlim
826826

827827
-or-
828828

829-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
829+
In .NET 9 and earlier versions, <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
830830
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed.</exception>
831831
<related type="Article" href="/dotnet/standard/threading/semaphore-and-semaphoreslim">Semaphore and SemaphoreSlim</related>
832832
</Docs>
@@ -988,9 +988,9 @@ If `cancellationToken` is cancelled, the method throws an <xref:System.Operation
988988
<exception cref="T:System.ArgumentOutOfRangeException">
989989
<paramref name="timeout" /> is a negative number other than -1, which represents an infinite timeout.
990990

991-
-or-.
991+
-or-
992992

993-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
993+
In .NET 9 and earlier versions, <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
994994
<exception cref="T:System.ObjectDisposedException">The semaphoreSlim instance has been disposed.
995995

996996
-or-
@@ -1225,7 +1225,7 @@ The <see cref="T:System.Threading.CancellationTokenSource" /> that created <para
12251225

12261226
-or-
12271227

1228-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
1228+
In .NET 9 and earlier versions, <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
12291229
</Docs>
12301230
</Member>
12311231
<Member MemberName="WaitAsync">
@@ -1356,7 +1356,7 @@ The <see cref="T:System.Threading.CancellationTokenSource" /> that created <para
13561356

13571357
-or-
13581358

1359-
<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
1359+
In .NET 9 and earlier versions, <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</exception>
13601360
<exception cref="T:System.OperationCanceledException">
13611361
<paramref name="cancellationToken" /> was canceled.</exception>
13621362
<exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> has been disposed.</exception>

0 commit comments

Comments
 (0)