Dmitry Kalyanov f3706313ef Compare BaseDefinition for properties when adding private properties.
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.
2015-11-27 15:58:15 +03:00
2015-11-15 21:25:47 +13:00
2015-10-10 12:02:14 +13:00
2014-09-12 21:43:17 +12:00
2015-09-27 13:04:13 +13:00
2014-07-01 09:16:28 +12:00
2013-07-25 16:07:02 +12:00
2015-01-25 16:28:25 +13:00
S
Description
Json.NET 是一种适用于 .NET 的常用高性能 JSON 框架
https://github.com/JamesNK/Newtonsoft.Json.git
Readme
27 MiB
Languages
C# 99.3%
PowerShell 0.7%