Skip to content

Deserializing System.Collections.Immutable types with JsonSerializer is not linker safe #38593

Closed

Description

@layomia

A NullReferenceException is thrown when deserialization of any of these collection types is attempted, due to the various CreateRange methods being trimmed out e.g. https://docs.microsoft.com/dotnet/api/system.collections.immutable.immutablelist.createrange.

Activity

  1. added
    linkable-framework
    on Jun 30, 2020
  2. self-assigned this
    on Jun 30, 2020
  3. added
    untriaged
    on Jun 30, 2020
  4. added this to the 5.0.0 milestone on Jun 30, 2020
  5. removed
    untriaged
    on Jun 30, 2020
  6. eerhardt commented on Jul 9, 2020

    @eerhardt
    Member

    @layomia - did we fix this? Can it be closed now?

  7. layomia commented on Jul 9, 2020

    @layomia
    ContributorAuthor

    @eerhardt yes - this was fixed in #38595.

  8. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-System.Text.Jsonlinkable-framework

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions