Microsoft does have control over building a version of Visual Studio that runs on macOS if they really don't discriminate based on the platform. They want their phone apps built on windows and I think it is fair, but they aren't that much different from Apple.