What does FileShare actually control in .NET, and how does it interact with another handle's FileAccess?
FileShare is what you let other handles do while yours is open, and Windows checks it in both directions against every open handle's FileAccess. Linux and macOS only emulate it with an advisory flock, so 56 of 144 open combinations behave differently. The rule, the defaults of every File.* helper, and measured results on .NET 10.