Compilation error when using an inline method inside a non-inline block with unknown generic types

So I tried another approach on my issue. I created a new thread because I got a different problem.