InvalidFunctionPointerInDelegate
.NET Framework 2.0
The InvalidFunctionPointerInDelegate managed debugging assistant (MDA) is activated when an invalid function pointer is passed in to construct a delegate over a native function pointer.
Reference
MarshalAsAttributeConcepts
Diagnosing Errors with Managed Debugging AssistantsInterop Marshaling Overview