I think there's only one framework involved here - it's Windows-only. My guess is that this is actually a matter of whether the JIT compiler inlines the call or not. Another option we might want to try is to use `MethodImpl(MethodImplOptions.NoInlining)` (or whatever it is; my memory is rubbish) to stop that happening.