Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STJ: Fix deserialization of UInt16 properties #56793

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

jasper-d
Copy link
Contributor

@jasper-d jasper-d commented Aug 3, 2021

Fixes source generation for properties of type System.UInt16 #56792

I added tests to ensure that numeric types can be serialized/deserialized successfully. I'm don't think that all those tests are necessary, but I tried to follow the pattern of existing tests.

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Aug 3, 2021
@ghost
Copy link

ghost commented Aug 3, 2021

Tagging subscribers to this area: @eiriktsarpalis, @layomia
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes source generation for properties of type System.UInt16 #56792

Author: jasper-d
Assignees: -
Labels:

area-System.Text.Json, community-contribution

Milestone: -

Copy link
Contributor

@layomia layomia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Also fixed in the upcoming PR #56354, but great to have an isolated fix here.

@layomia layomia added this to the 6.0.0 milestone Aug 3, 2021
@layomia
Copy link
Contributor

layomia commented Aug 3, 2021

Test failure is unrelated - System.Net.Security.Tests.

@layomia layomia merged commit a33ea98 into dotnet:main Aug 3, 2021
thaystg added a commit to thaystg/runtime that referenced this pull request Aug 4, 2021
…ger_proxy_attribute

* origin/main:
  disable token info in traces. (dotnet#56780)
  [debugger] Fix debugger.break behavior (dotnet#56788)
  [mono][wasm] Allow setting env variables with '=' characters in the test runner. (dotnet#56802)
  Ecma edit for `conv.ovf.<to type>.un`. (dotnet#56450)
  Mark HandleProcessCorruptedStateExceptionsAttribute as obsolete (dotnet#56664)
  Enable SxS install of previews on Mac OS (dotnet#56797)
  CoreCLR runtime tests + Mono on the x64 iOS simulator (dotnet#43954)
  [main] Update dependencies from mono/linker (dotnet#56593)
  STJ: Fix deserialization of UInt16 properties (dotnet#56793)
@ghost ghost locked as resolved and limited conversation to collaborators Sep 2, 2021
@jasper-d jasper-d deleted the stj-uint16 branch August 31, 2022 22:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants