[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1502-5.cs
blobdb497563c29f5ed62f603218896eb2f126b194e0
1 // CS1502: The best overloaded method match for `System.Windows.Forms.X11Xim.XCreateIC(System.IntPtr, __arglist)' has some invalid arguments
2 // Line: 16
4 using System;
5 using System.Runtime.InteropServices;
7 namespace System.Windows.Forms
9 internal class X11Xim
11 [DllImport ("libX11", EntryPoint="XCreateIC")]
12 internal extern static IntPtr XCreateIC(IntPtr xim, __arglist);
14 public static void Main ()
16 XCreateIC (IntPtr.Zero, IntPtr.Zero);