Memory and Span usage guidelines by Microsoft (source code)

= Memory and Span usage guidelines by Microsoft
{c}

https://learn.microsoft.com/en-us/dotnet/standard/memory-and-spans/memory-t-usage-guidelines

Official `Memory<T>` and `Span<T>` usage guidelines. Rule4 ends consumer access by task termination; Rule10 retains a pin handle through asynchronous native work and cleans it up through completion or submission-failure paths.