Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This article is specific to .NET Framework. It doesn't apply to newer implementations of .NET, including .NET 6 and later versions.
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.
Symptoms
Access violations or unexpected memory corruption when using a delegate over a function pointer.
Cause
An invalid function pointer was specified.
Resolution
Specify a valid function pointer
Effect on the Runtime
This MDA has no effect on the CLR.
Output
The invalid function pointer.
Configuration
<mdaConfig>
<assistants>
<invalidFunctionPointerInDelegate />
</assistants>
</mdaConfig>