> I would have thought open sourcing so much of it's framework
I have a pedantic correction here.
Instead of open sourcing the .NET Framework they wrote a new opensource framework (named .NET core) that is very similar to their closed source framework. Microsoft is currently supporting and expanding both frameworks.