dotnet / dotnet/dotnet-api-docs
SemaphoreSlim Example output is wrong
Open
area-System.Threading.Tasks
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
https://learn.microsoft.com/en-us/dotnet/api/system.threading.semaphoreslim?view=net-8.0#examples
https://github.com/dotnet/dotnet-api-docs/blob/eb7588a564e5d717332afcac41a302ca785e708f/snippets/csharp/System.Threading/SemaphoreSlim/Overview/example.cs#L76
Should be
`// Task 3 releases the semaphore; previous count: 1.
`
Contributor guide
Assessment
This issue has not been assessed yet.