Extend Dictionary concurrent access detection to Remove() #26336
Labels
area-System.Collections
bug
Hackathon
Issues picked for Hackathon
help wanted
[up-for-grabs] Good issue for external contributors
Milestone
#20569 added a change to turn hangs in Dictionary (caused by illegal concurrent access) into crashes, which are more useful.
It looks we missing the same protection in the 2 Remove() overloads. It contains code like
The hangs we have seen were all loops in the entries chain - such a loop could cause the above code to hang also so we should probably apply the same change to this.
The text was updated successfully, but these errors were encountered: