Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs')
-rw-r--r--src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs b/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs
index 4fba126b2..e9066eb64 100644
--- a/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs
+++ b/src/Common/src/Interop/Unix/System.Private.CoreLib.Native/Interop.Number.cs
@@ -10,7 +10,11 @@ internal static partial class Interop
{
internal unsafe partial class Sys
{
+#if !MONO
[DllImport(Interop.Libraries.CoreLibNative, EntryPoint = "CoreLibNative_DoubleToString")]
+#else
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+#endif
internal static extern unsafe int DoubleToString(double value, byte* format, byte* buffer, int bufferLength);
}
}