Scott Guthrie announced that source code of .NET Framework library is now available. You can drill down to code written by Microsoft when debugging your application in Visual Studio 2008. And you even see developers comments in source code :-)
Today I'm happy to announce that this is now available for everyone to use.
Specifically, you can now browse and debug the source code for the following
.NET Framework libraries:
- .NET Base Class Libraries (including System, System.CodeDom,
System.Collections, System.ComponentModel, System.Diagnostics, System.Drawing,
System.Globalization, System.IO, System.Net, System.Reflection, System.Runtime,
System.Security, System.Text, System.Threading, etc).
- ASP.NET (System.Web, System.Web.Extensions)
- Windows Forms (System.Windows.Forms)
- Windows Presentation Foundation (System.Windows)
- ADO.NET and XML (System.Data and System.Xml)
Here is sample code snippet. This is the beginning of HttpRuntime.ShutdownAppDomain method: