mono 编译扩展方法. 从 VS2010 转到 Mono , 有时扩展方法明明声明的很好, 但是就是报找不到方法. 解决方案: 添加 System.Core.dll , System.Runtime.Serialization .即可. 解决了我长时间的疑惑.