How to reliably verify if an [MethodImpl(MethodImplOptions.InternalCall)] method is correctly bound? #115971
Unanswered
ffbh123456
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working with Mono and using C# methods marked with [MethodImpl(MethodImplOptions.InternalCall)] to bind to native functions. During development, it's easy to accidentally break the binding (e.g., by renaming a method), but no error is reported until the method is actually invoked.
Is there a way to verify or validate all internal call bindings ahead of time (e.g., at startup) instead of waiting for runtime invocation?
Beta Was this translation helpful? Give feedback.
All reactions