dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

Add info about failure modes to ConcurrentQueue Try methods

Open Smaug123 opened this issue 5 months ago • 1 comments

Summary

The docs are currently silent on the failure modes of most of the System.Collections.Generic.ConcurrentQueue.Try* methods. This PR clarifies what I believe are the semantics: that the Try operations can only fail for the trivial reason that the queue was empty at the time the operation was attempted.

Smaug123 avatar Jul 19 '25 07:07 Smaug123