Open grokys opened 3 years ago
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
Dictionary<,>
It would be nice to have an equivalent to this in the pooled collections.
Describe the solution you'd like
Something like PooledCollectionsMarshal.GetValueRefOrNullRef?
PooledCollectionsMarshal.GetValueRefOrNullRef
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/49388It would be nice to have an equivalent to this in the pooled collections.
Describe the solution you'd like
Something like
PooledCollectionsMarshal.GetValueRefOrNullRef
?