Open carlossanlop opened 2 years ago
Tagging subscribers to this area: @dotnet/area-system-collections See info in area-owners.md if you want to be subscribed.
Author: | carlossanlop |
---|---|
Assignees: | - |
Labels: | `documentation`, `area-System.Collections` |
Milestone: | - |
As discussed here: https://github.com/dotnet/dotnet-api-docs/pull/7807/files#r822224919
OperationCanceledException
should be removed since theTake()
overload. Only theTake(CancelationToken)
overload throws that exception.Take(CancellationToken)
overload should be fixed because it can throw anOperationCanceledException
, but not because the collection "is empty and has been marked as complete with regards to additions."InvalidOperationException
should be updated to match what we have in dotnet-api-docs (make sure to fix it in bothTake
overloads if necessary): https://github.com/dotnet/dotnet-api-docs/blob/d67c461d2960e0c3fffe94dc30fb6751f8bd33e4/xml/System.Collections.Concurrent/BlockingCollection%601.xml#L1406