Added missing parameter to GetProperties call for nested interfaces
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user