Imported Upstream version 4.8.0.344

Former-commit-id: 609085c14e6ad2a66429d180056034e93c0547d2
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-11-16 13:31:47 +00:00
parent 94b2861243
commit 62edeef69b
89 changed files with 4558 additions and 65 deletions

View File

@@ -74,6 +74,13 @@ namespace System.Runtime.InteropServices
return false;
}
[MonoTODO]
public static void CleanupUnusedObjectsInCurrentContext ()
{
if (Environment.IsRunningOnWindows)
throw new PlatformNotSupportedException ();
}
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern static IntPtr AllocCoTaskMem (int cb);
@@ -769,15 +776,8 @@ namespace System.Runtime.InteropServices
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern static string PtrToStringUni (IntPtr ptr, int len);
#if !MOBILE
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern static string PtrToStringBSTR (IntPtr ptr);
#else
public static string PtrToStringBSTR (IntPtr ptr)
{
throw new NotImplementedException ();
}
#endif
[MethodImplAttribute(MethodImplOptions.InternalCall)]
[ComVisible (true)]

View File

@@ -1 +1 @@
d9eea5672d519baa2abbb431cd364b9620888b26
e275634bc2c909abbe355a3fe2f75b1a08b25558