2 writes to _allocatedMemory
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\SpanMarshaller.cs (2)
140
_allocatedMemory
= null;
159
_allocatedMemory
= (TUnmanagedElement*)NativeMemory.Alloc((nuint)bufferSize);
2 references to _allocatedMemory
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\SpanMarshaller.cs (2)
160
_span = new Span<TUnmanagedElement>(
_allocatedMemory
, managed.Length);
195
NativeMemory.Free(
_allocatedMemory
);