[btls] Convert BTLS icalls to pinvokes by invoking them using [DllImp… (#3799)
[mono.git] / mcs / class / System / Mono.Btls / MonoBtlsX509Revoked.cs
index 4f5d79b67b41278c6a7c3d0281bcf95847fc93b9..583a6d01517fac62e3e8f746ae48c6fcbe3b7df9 100644 (file)
@@ -67,19 +67,19 @@ namespace Mono.Btls
                {
                }
 
-               [MethodImpl (MethodImplOptions.InternalCall)]
+               [DllImport (BTLS_DYLIB)]
                extern static int mono_btls_x509_revoked_get_serial_number (IntPtr handle, IntPtr data, int size);
 
-               [MethodImpl (MethodImplOptions.InternalCall)]
+               [DllImport (BTLS_DYLIB)]
                extern static long mono_btls_x509_revoked_get_revocation_date (IntPtr handle);
 
-               [MethodImpl (MethodImplOptions.InternalCall)]
+               [DllImport (BTLS_DYLIB)]
                extern static int mono_btls_x509_revoked_get_reason (IntPtr handle);
 
-               [MethodImpl (MethodImplOptions.InternalCall)]
+               [DllImport (BTLS_DYLIB)]
                extern static int mono_btls_x509_revoked_get_sequence (IntPtr handle);
 
-               [MethodImpl (MethodImplOptions.InternalCall)]
+               [DllImport (BTLS_DYLIB)]
                extern static void mono_btls_x509_revoked_free (IntPtr handle);
 
                public byte[] GetSerialNumber ()