Skip to content

Incorrect Information in Barrier.AddParticipants(Int32) Method Exception Docs #10150

Open
@JackCoplandGranta

Description

@JackCoplandGranta

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

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.RuntimeuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions