No intellisence for Span<T>'s GetPinnableReference method
For following code (install latest version of
System.Memory
):
Span<byte> buffer = stackalloc byte[1024];When I type
// No intellisence for: buffer.Get...
buffer.GetPinnableReference().Dump();
buffer.Get
, there is no intellisence out there(should list a GetPinnableReference
), and the code is working.
Comments
See also:
https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.editorbrowsablestate?view=netframework-4.8