You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.
Issue Details
Description
I found an edge case in the PriorityQueue<TElement, TPriority> collection, where enqueuing an element
might fail, but the nonetheless the Count increases.
Description
I found an edge case in the
PriorityQueue<TElement, TPriority>
collection, where enqueuing an elementmight fail, but nonetheless the
Count
increases.Reproduction Steps
In my PC I get this output, after around 30 seconds of execution time:
Expected behavior
After failing to
Enqueue
, theCount
should preserve its previous value (300,000,000).Actual behavior
The
Count
increases to 300,000,001.Regression?
No response
Known Workarounds
No response
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: