It looks like there was a late change to the method name used for the pattern - it's just GetPinnableReference, not DangerousGetPinnableReference. At least, that's what works for me, and it's the name in Span<T> in .NET Core 2.1.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.