1 write to safeNativeMemoryHandle
System.Text.Encoding.CodePages (1)
System\Text\BaseCodePageEncoding.cs (1)
372safeNativeMemoryHandle = new SafeAllocHHandle((IntPtr)pNativeMemory);
5 references to safeNativeMemoryHandle
System.Text.Encoding.CodePages (5)
System\Text\BaseCodePageEncoding.cs (4)
367if (safeNativeMemoryHandle == null) 375return (byte*)safeNativeMemoryHandle.DangerousGetHandle(); 408if (safeNativeMemoryHandle != null && safeNativeMemoryHandle.DangerousGetHandle() == IntPtr.Zero)
System\Text\GB18030Encoding.cs (1)
133byte* pNativeMemory = (byte*)safeNativeMemoryHandle!.DangerousGetHandle();