10 lines
236 B
C#
Raw Normal View History

// CS7042: The DllImport attribute cannot be applied to a method that is generic or contained in a generic type
// Line: 9
using System.Runtime.InteropServices;
public class C
{
[DllImport ("my.dll")]
static extern void Foo<T> ();
}