Skip to content

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

@Miista

Description

@Miista

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: lowThe issue has low priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions