Open
Description
The Remarks section of the Interlocked.MemoryBarrier method document is inconsistent with the actual implementation.
to quote:
This method was added to the Interlocked class in the .NET Framework 4.5 as a convenience;
it's a wrapper for the Thread.MemoryBarrier method.
This statement is correct for .NET Framework 4.x version. see Source Code in Microsoft Reference Code.
But when it comes to .NET [Core] the implementation is reversed. see Source Code in GitHub.
This might lead to some misunderstandings when reading the docs.