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

Fix support for serializing SByte[] #2140

Merged
merged 1 commit into from
Sep 12, 2016

Conversation

ReubenBond
Copy link
Member

Currently we have optimizations for serializing certain types, including various array types.

Serialization is broken for SByte[] because it is serialized without optimization, but erroneously deserialized with an optimization for byte[]. Since the optimized serialization occupies half the space, this results in incorrect deserialization.

This PR fixes that and expands test coverage to include this case.

@ReubenBond ReubenBond added the bug label Sep 12, 2016
@sergeybykov sergeybykov merged commit c27dcf7 into dotnet:master Sep 12, 2016
@ReubenBond ReubenBond deleted the fix-sbyte-array-serialization branch September 22, 2016 06:29
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants