Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs7042-2.cs
1 // CS7042: The DllImport attribute cannot be applied to a method that is generic or contained in a generic type
2 // Line: 9
3
4 using System.Runtime.InteropServices;
5
6 public class C
7 {
8         [DllImport ("my.dll")]
9         static extern void Foo<T> ();
10 }