Collections.Pooled icon indicating copy to clipboard operation
Collections.Pooled copied to clipboard

Add equivalent of CollectionsMarshal.GetValueRef for PooledDictionary.

Open grokys opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe.

.NET 6 exposes a low-level method to get a ref to the entry in a Dictionary<,>: https://github.com/dotnet/runtime/pull/49388

It would be nice to have an equivalent to this in the pooled collections.

Describe the solution you'd like

Something like PooledCollectionsMarshal.GetValueRefOrNullRef?

grokys avatar Jun 27 '21 21:06 grokys