PInvoke

PInvoke

Hi there,

I've got a static PInvoke wraper on an old C-style class library. When executing my test I don't see any of those DllImport methods.

internal class Wrapper
{
   [DllImport("wrapped.dll", EntryPoint = "foo")]
   public static extern Int32 foo([In] Int32 x, IntPtr reserved);
}

None of this methods is displayed as covered, independend if called of not.

What's going wrong? How to solve it?

Ciao
Thomas