Merge branch 'alexischr/nursery-canaries-managed-alloc'
[mono.git] / mcs / errors / cs7042.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<T>
7 {
8         [DllImport ("my.dll")]
9         static extern void Foo ();
10 }