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

Big-endian fix for JsonClassInfo.GetKey #49708

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Big-endian fix for JsonClassInfo.GetKey #49708

merged 2 commits into from
Mar 17, 2021

Conversation

uweigand
Copy link
Contributor

  • Fix endian assumptions in JsonClassInfo.GetKey
    (extract initial up to 7 bytes of the property name)

@ghost
Copy link

ghost commented Mar 16, 2021

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

Issue Details
  • Fix endian assumptions in JsonClassInfo.GetKey
    (extract initial up to 7 bytes of the property name)
Author: uweigand
Assignees: -
Labels:

area-System.Text.Json

Milestone: -

* Skip assertion in JsonClassInfo.GetKey on big-endian
  (code will not ensure the properties tested here)
@uweigand
Copy link
Contributor Author

Thanks for the typo fix! I had fixed that locally and then forgotten to update the commit :-(

@uweigand
Copy link
Contributor Author

Would you prefer me to quash the two commits into a single one, or should I leave it as is?

@stephentoub
Copy link
Member

Would you prefer me to quash the two commits into a single one, or should I leave it as is?

As-is is fine. We squash when merging.

@stephentoub stephentoub merged commit 604ea07 into dotnet:main Mar 17, 2021
@stephentoub
Copy link
Member

Thanks.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants