There is no direct answer to this question, it greatly depends on the jitter used and what code is present in the general method.
The starting point is that jitter generates a separate method for each individual value type. Even for structures that are otherwise completely identical. Something you can see with a debugger. Use Debug + Windows + Disassembly to view the generated machine code. One step into the method, use the Debug + Windows + Registers window, the EIP / RIP register shows the location of the method in memory.
But general methods like this are still eligible for inlining optimization. This is very important for the performance, and the whole method disappears, and the method code is entered into the caller's method. In this case, the distinction between generic methods disappears. This is not something you can usually rely on for interface implementation methods. However, if you leave the method body empty, this will happen for your sample code. With different results for x86 and x64 jitter.
You can only say what you get by looking at the generated machine code. Make sure that you allow the optimizer to do its work, "Tools + Options", "Debug", "General", disable the "Suppress JIT optimization" checkbox. And of course, make sure you never depend on the exact answer to this question. Implementation details like this are subject to change without notice.
source share