Renaming ZeroFreeAllocMemUTF8 to ZeroFreeCoTaskMemUTF8
authortijoytk <tijoytk@microsoft.com>
Mon, 16 May 2016 17:41:23 +0000 (10:41 -0700)
committertijoytk <tijoytk@microsoft.com>
Mon, 16 May 2016 17:41:23 +0000 (10:41 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/42929098cb110c62a2605cdf789239950e85dadf

src/coreclr/src/mscorlib/model.xml
src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/Marshal.cs

index 225249f..e356c64 100644 (file)
       <Member Name="ZeroFreeCoTaskMemAnsi(System.IntPtr)" />
       <Member Name="ZeroFreeGlobalAllocAnsi(System.IntPtr)" />
       <Member Name="ZeroFreeGlobalAllocUnicode(System.IntPtr)" />
-      <Member Name="ZeroFreeMemoryUTF8(System.IntPtr)" />
+      <Member Name="ZeroFreeCoTaskMemUTF8(System.IntPtr)" />
     </Type>
     <Type Name="System.Runtime.InteropServices.MarshalAsAttribute">
       <Member MemberType="Field" Name="ArraySubType" />
index 3af866a..90d313e 100644 (file)
@@ -2725,7 +2725,7 @@ namespace System.Runtime.InteropServices
         }
 
         [System.Security.SecurityCritical]  // auto-generated_required
-        unsafe public static void ZeroFreeMemoryUTF8(IntPtr s)
+        unsafe public static void ZeroFreeCoTaskMemUTF8(IntPtr s)
         {
             Win32Native.ZeroMemory(s, (UIntPtr)System.StubHelpers.StubHelpers.strlen((sbyte*)s));
             FreeCoTaskMem(s);