6internal sealed class SafeUnicodeStringHandle :
SafeHandle
11 : base(
IntPtr.Zero, ownsHandle: true)
17 : base(
IntPtr.Zero, ownsHandle: true)
23 int num = s.Length + 1;
unsafe SafeUnicodeStringHandle(ReadOnlySpan< char > s)
SafeUnicodeStringHandle(string s)
override bool ReleaseHandle()
static void FreeHGlobal(IntPtr hglobal)
static unsafe IntPtr StringToHGlobalUni(string? s)
static IntPtr AllocHGlobal(int cb)
static readonly IntPtr Zero
unsafe void * ToPointer()