Skip to content

Commit

Permalink
Fixed rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed May 6, 2020
1 parent dc20062 commit d600e91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public JsonClassInfo(Type type, JsonSerializerOptions options)

for (Type? currentType = type; currentType != null; currentType = currentType.BaseType)
{
foreach (PropertyInfo propertyInfo in currentType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly))
foreach (PropertyInfo propertyInfo in currentType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly))
{
// Ignore indexers
if (propertyInfo.GetIndexParameters().Length > 0)
Expand Down

0 comments on commit d600e91

Please sign in to comment.