Description
CreateJsonPropertyInfo throws NRE when type is null.
cc @eiriktsarpalis
Reproduction Steps
JsonTypeInfo.CreateJsonPropertyInfo(null, "Name");
Expected behavior
ArgumentNullException
Actual behavior
NullReferenceException
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response