周,微軟在MS-RL協(xié)議下公開(kāi)了.NET Framework源代碼,可以自由查看,但不允許直接進(jìn)行修改。
第一批開(kāi)放的源代碼包括:
.NET基本類庫(kù):
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
共享源代碼(而不是"開(kāi)源")原本是去年10月初宣布的.當(dāng)時(shí)Mono的mailing list上就引起了不少討論.結(jié)論是如果你想為開(kāi)源的CLI實(shí)現(xiàn)貢獻(xiàn)代碼的話,請(qǐng)不要閱讀這次開(kāi)放的共享源代碼.當(dāng)然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.
如果沒(méi)有這層考慮的話,看看.NET實(shí)際的代碼倒是件不錯(cuò)的事.最主要的用途還是拿來(lái)debug了.不過(guò)我還是小心點(diǎn),盡量不看的好...哪一天還真的想為Mono貢獻(xiàn)點(diǎn)代碼的說(shuō) = =