Skip to content

Test failure on some platforms when (de)serializing Queue, Stack #2396

@steveharter

Description

@steveharter

Creating this to flag tests as ActiveIssue to unblock PR #2259

These tests are failing:

System.Text.Json.Serialization.Tests.ValueTests.ReadPrimitiveQueue
System.Text.Json.Serialization.Tests.ValueTests.ReadStackOfArray
System.Text.Json.Serialization.Tests.ValueTests.ReadGenericStackOfStack 
System.Text.Json.Serialization.Tests.ValueTests.ReadArrayOfStack 

on

Linux
OSX
Windows_NET net472

Apparently due to the wrong converter being selected. Message is like:

System.NotSupportedException : Deserialization of reference types without parameterless constructor is not supported. Type 'System.Collections.Queue'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions