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

Make InvalidHeaderException serializable #445

Merged

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Apr 12, 2020

I was looking at some code analyzer results of the build, and one of the things it suggested was that InvalidHeaderException should be [Serializable], given that it derives from a serializable type (TarException).

I don't know why this wasn't done along with the others, aside from having been overlooked?

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@piksel piksel merged commit ca33534 into icsharpcode:master Jun 19, 2020
@piksel
Copy link
Member

piksel commented Jun 19, 2020

Yeah, probably overlooked, no reason for any Exception to not be marked as Serializable

@Numpsy Numpsy deleted the rw/serialization/InvalidHeaderException branch June 19, 2020 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants