Imported Upstream version 5.16.0.100

Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-07 15:19:03 +00:00
parent 0a9828183b
commit 7d7f676260
4419 changed files with 170950 additions and 90273 deletions

View File

@ -30,6 +30,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime
{
internal unsafe static class UnsafeNativeMethods
{
#if !DISABLE_COM
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public static extern int WindowsCreateString(string sourceString, int length, IntPtr* hstring);
@ -47,5 +48,30 @@ namespace System.Runtime.InteropServices.WindowsRuntime
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public static extern IRestrictedErrorInfo GetRestrictedErrorInfo();
#else
public static int WindowsCreateString(string sourceString, int length, IntPtr* hstring) {
throw new NotImplementedException ();
}
public static int WindowsDeleteString(IntPtr hstring) {
throw new NotImplementedException ();
}
public static char* WindowsGetStringRawBuffer(IntPtr hstring, uint* length) {
throw new NotImplementedException ();
}
public static bool RoOriginateLanguageException(int error, string message, IntPtr languageException) {
throw new NotImplementedException ();
}
public static void RoReportUnhandledError(IRestrictedErrorInfo error) {
throw new NotImplementedException ();
}
public static IRestrictedErrorInfo GetRestrictedErrorInfo() {
throw new NotImplementedException ();
}
#endif
}
}
}