Files
Newtonsoft.Json/Src/Newtonsoft.Json.Tests
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-08-02 23:56:26 +12:00
2015-10-02 21:49:58 +13:00
2015-08-02 23:56:26 +12:00
2009-12-29 02:53:53 +00:00
2012-04-08 18:10:07 +12:00
2015-10-02 21:49:58 +13:00
2011-11-19 07:37:53 +00:00
2014-09-11 15:34:20 +12:00