微软源码在线:http://referencesource.microsoft.com/
代码压缩包:http://download.csdn.net/detail/xunzaosiyecao/8497803
Download the entire source code as a .zip file. The archive includes a solution and project files that can be opened in Visual Studio. This solution will not build because it is missing crucial components such as resources, XAML files, etc. but it will be sufficient to browse the source code inside Visual Studio.