Added missing parameter to GetProperties call for nested interfaces

This commit is contained in:
ravensorb
2015-04-01 23:13:30 -05:00
parent 16d0c09027
commit b7315c926b
2 changed files with 3 additions and 1 deletions
@@ -893,7 +893,7 @@ namespace Newtonsoft.Json.Utilities
{
propertyInfos = (new Type[] { targetType })
.Concat(targetType.GetInterfaces())
.SelectMany(i => i.GetProperties()).ToList();
.SelectMany(i => i.GetProperties(bindingAttr)).ToList();
}
GetChildPrivateProperties(propertyInfos, targetType, bindingAttr);