Open
Description
Type of issue
Other (describe below)
Description
The docs claim this method throws an ArgumentOutOfRangeException when "participantCount is less than 0." in actuality it throws this when participantCount is less than 1.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.threading.barrier.addparticipants?view=net-8.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading/Barrier.xml
Document Version Independent Id
940bac83-e82e-5a96-aecf-c2be9c712297