Open ilengyel opened 6 years ago
@ilengyel I'm working on reproducing this
Same when using dotCover. I guess having both doing IL emit on top of each other isn't working properly?
System.NotSupportedException : Specified method is not supported.
at Pose.IL.MethodRewriter.Rewrite()
at stub_...(... , RuntimeMethodHandle , RuntimeTypeHandle )
at dynamic_...Tests+<>c__DisplayClass7_0_<TestMethod>b__2(<>c__DisplayClass7_0 )
We get the following exception when we run our xunit tests wrapped in an open cover:
If we run the same set of tests without open cover, the desired methods appear to be shimmed just fine. I attempted to reproduce this in a minimal project to no success yet, and it also shims just fine with open cover enabled. Let me know if more effort is needed to attempt to reproduce.