周,微軟在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貢獻點代碼的說 = =