3 writes to _span
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ReadOnlySpanMarshaller.cs (3)
113
_span
= default;
122
_span
= buffer[0..managed.Length];
128
_span
= new Span<TUnmanagedElement>(_allocatedMemory, managed.Length);
2 references to _span
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ReadOnlySpanMarshaller.cs (2)
142
public Span<TUnmanagedElement> GetUnmanagedValuesDestination() =>
_span
;
147
public ref TUnmanagedElement GetPinnableReference() => ref MemoryMarshal.GetReference(
_span
);