f3706313ef68d4ce968081d080f07a6d86393e43
Due to difference in mono vs .net (see https://bugzilla.xamarin.com/show_bug.cgi?id=36305), MethodInfo.GetBaseDefinition() does not actually return base class (it returns partially-instantiated generic class) in mono when overriding property from generic base class. Because of this, lookup of matching property in ReflectionUtils.GetChildPrivateProperties() fails to find already added property and adds the same property multiple times. Comparing GetBaseDefinition()'s compensates for this: since the same function is applied to both PropertyInfo's, matching property will be found. This fixes issue #726.
Description
Json.NET 是一种适用于 .NET 的常用高性能 JSON 框架
https://github.com/JamesNK/Newtonsoft.Json.git
27 MiB
Languages
C#
99.3%
PowerShell
0.7%