You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no existing resolver can simulate DataContractSerializer.
ex:
[DataContract]
public class Master {
[DataMember]
public string A { get; set; }
[DataMember]
internal Detail B { get; set; }
}
public class Detail {
public string B1 { get; set; }
internal string B2 { get; set; }
}
The original DataContractSerializer, includes A, B and B1.
The ContractlessStandardResolver only includes A.
The ContractlessStandardResolverAllowPrivate, include A, B and B1 and B2.
Activity
AArnott commentedon Dec 16, 2018
I'm working on a test to repro this.
Add test for a few aspects of DataContractSerializer compatibility
Add test for a few aspects of DataContractSerializer compatibility
peterwald commentedon Mar 6, 2019
It would be very helpful if we can also handle internal
[DataContract]classes with internal[DataMember]properties as well.AArnott commentedon Apr 3, 2019
Internal classes might work, depending on the real outcome of MessagePack-CSharp#88
AArnott commentedon Dec 6, 2019
If this isn't already working in 2.0, please open a new issue on the root project (not my fork).
Fix build of WPF projects