Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception filters are not supported in .NET Framework 4.7 and 4.8 #45

Open
Miista opened this issue Mar 5, 2024 · 0 comments
Open

Exception filters are not supported in .NET Framework 4.7 and 4.8 #45

Miista opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working priority: low The issue has low priority

Comments

@Miista
Copy link
Owner

Miista commented Mar 5, 2024

Stack trace:

The requested operation is invalid for DynamicMethod.
   at System.Reflection.Emit.DynamicILGenerator.BeginExceptFilterBlock()
   at Pose.IL.MethodRewriter.EmitILForExceptionHandlers(ILGenerator ilGenerator, Instruction instruction, IReadOnlyCollection`1 handlers)

As per the documentation it should be possible to implement this using DynamicILInfo.

This issue was found during work on #34

@Miista Miista added bug Something isn't working priority: low The issue has low priority labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: low The issue has low priority
Projects
None yet
Development

No branches or pull requests

1 participant