[corlib] Expose Marshal.PtrToStringBSTR on mobile
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / Marshal.cs
index 30ff8b74bce5a34540a6d9432ced77e7c6beb276..9c71b5409c4d28b8ddc9d485d990ebb7c2905487 100644 (file)
@@ -789,15 +789,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)]