周,微软在MS-RL协议下公开了.NET Framework源代码,可以自由查看,但不允许直接进行修改。
第一批开放的源代码包括:
.NET基本类库:
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
ASP.NET:
System.Web, System.Web.Extensions
Windows Forms:
System.Windows.Forms
Windows Presentation Foundation:
System.Windows
ADO.NET和 XML:
System.Data
System.Xml
共享源代码(而不是"开源")原本是去年10月初宣布的.当时Mono的mailing list上就引起了不少讨论.结论是如果你想为开源的CLI实现贡献代码的话,请不要阅读这次开放的共享源代码.当然SSCLI也不可以看.
Miguel在mailing list里提到:
引用
> If we can't even look at the source, it will make it virtually
> impossible for .net developers to contribute to mono, since the source
> viewing will be integrated with visual studio and will greatly enhance
> debugging, it would be stupid not to use it for regular developing.
> Soon everyone will have seen at least some part of the code.
Then we will not accept their contributions. It is that easy. If you look at code in System.Net, it does not mean that you can notcontribute to say System.Windows.Forms. So there is some nuance here.
如果没有这层考虑的话,看看.NET实际的代码倒是件不错的事.最主要的用途还是拿来debug了.不过我还是小心点,尽量不看的好...哪一天还真的想为Mono贡献点代码的说 = =