Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions xml/System.Threading/SemaphoreSlim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ If a thread or task is blocked when calling <xref:System.Threading.SemaphoreSlim

-or-

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

-or-.
-or-

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

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

-or-

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

-or-

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