Skip to content

CreateJsonPropertyInfo NullReferenceException #71296

@JamesNK

Description

@JamesNK

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions