Skip to content

Conversation

niemyjski
Copy link

I believe the fix is inside of this method: public static Type[] GetGenericTypeArguments(Type type). The SettingsDictionary inherits from dictionary but doesn't have any generic type arguments. The base type would need to be checked.

@niemyjski
Copy link
Author

I added

if (!IsTypeGeneric(type))
type = type.BaseType;

to that method and it fixed it. However, I'd expect the empty dictionary to be empty and not null. So it looks like there is still work todo :.

@niemyjski
Copy link
Author

I was wondering if anyone has taken a look into this?

@prabirshrestha
Copy link
Member

@niemyjski was on a vacation. will have a look at it this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants