-
@souenzzo you're right that a cast is not needed. looks like the casting syntax in the screenshot is a quirk of the disassembler, MAGIC does not emit a cast in this case. this is the relevant bytecode for that call site:
-
@souenzzo hm, that may not be totally accurate. there are different ways of invoking interface methods, and it looks like Roslyn emits something different. they resolve the method on the target type and MAGIC resolves it on one of the interfaces. might be the order we're looking things up?
