-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
area-System.Text.Jsondisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue
Milestone
Description
After #65863, these two are failing on net48 runs:
System.Text.Json.Serialization.Tests.CacheTests.JsonSerializerOptions_ReuseConverterCachesSystem.Text.Json.Serialization.Tests.CustomConverterTests.GetConverter_Poco_WriteThrowsNotSupportedException
Child exception:
System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.Span`1..ctor(T[] array, Int32 start, Int32 length)
at System.Text.Json.PooledByteBufferWriter.Dispose()
at System.Text.Json.JsonSerializer.WriteStringUsingSerializer[TValue](TValue& value, JsonTypeInfo jsonTypeInfo)
at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options)
at System.Text.Json.Serialization.Tests.CustomConverterTests.<>c.<GetConverter_Poco_WriteThrowsNotSupportedException>b__321_0()
mrBen and nmoreaud
Metadata
Metadata
Assignees
Labels
area-System.Text.Jsondisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue