3 writes to _span
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\PointerArrayMarshaller.cs (3)
146
_span
= default;
155
_span
= buffer[0..array.Length];
162
_span
= new Span<TUnmanagedElement>(_allocatedMemory, array.Length);
2 references to _span
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\PointerArrayMarshaller.cs (2)
176
public Span<TUnmanagedElement> GetUnmanagedValuesDestination() =>
_span
;
182
public ref TUnmanagedElement GetPinnableReference() => ref MemoryMarshal.GetReference(
_span
);