Skip to content

System.Text.Json GetConverterFromAttribute need to be annotated for native aot #68878

Closed
@LakshanF

Description

@LakshanF

The above method in JsonSerializerOptions has a suppression currently until converter code that calls this method is refactored to distinguish between reflection and source generated paths. The suppression is there so as to make forward progress on the effort to annotate this library and get the PR #68464 merged but it is dangerous since some reflection code paths will go through this method.

The conversation in the PR has more details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions