.Net has been (_almost_) entirely open source for years now. The whole closed source and Windows-bound .Net Framework is a legacy thing of the past now, since .Net Core (which is now named .Net) everything but the debugger is open source. It's all on GitHub. You can do all your C# development on Linux nowadays, too, with VSCode or Rider.