There is a new function Interlocked.SpeculationBarrier since .net framework 4.8. I have been curious and looking for more information about this but couldn't really find out why this is included or why you would want to block speculative execution. So what is the use case for this?
Would enabling this make your application more secure when handling sensitive information against vulnerabilities that target speculative execution(ex. spectre, meltdown)?