invalidFunctionPointerInDelegate MDA
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>
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.