C# mono 2.10.5上的fluent nhibernate深度克隆错误
我在我的项目中使用fluent nhibernate。在内部,fluent nhibernate使用以下代码执行C# mono 2.10.5上的fluent nhibernate深度克隆错误,c#,fluent-nhibernate,mono,deep-copy,C#,Fluent Nhibernate,Mono,Deep Copy,我在我的项目中使用fluent nhibernate。在内部,fluent nhibernate使用以下代码执行DeepClone(): 不幸的是,这在mono上不起作用,因为这些代码将调用 System.Collections.Generic.HashSet<T>.GetObjectData (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) System.Collec
DeepClone
():
不幸的是,这在mono上不起作用,因为这些代码将调用
System.Collections.Generic.HashSet<T>.GetObjectData
(System.Runtime.Serialization.SerializationInfo info, StreamingContext
context)
System.Collections.Generic.HashSet.GetObjectData
(System.Runtime.Serialization.SerializationInfo信息,StreamingContext
(上下文)
尚未实现的(抛出NotImplementedException
)
有人知道在mono上运行的深层克隆代码吗?我认为你应该在bugzilla.xamarin.com上报告一个bug(标题是“FluentNHibernate不适用于mono”之类的,而不是只关注他们可能已经知道的NIE)。查看源代码,mono没有实现
GetObjectData
。我接受这个答案。mono 3.0版似乎不存在bug。
System.Collections.Generic.HashSet<T>.GetObjectData
(System.Runtime.Serialization.SerializationInfo info, StreamingContext
context)