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); 195NativeMemory.Free(_allocatedMemory);