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

Inconsistent Exception Behavior for ShiftRight and ShiftLeft Methods #97

Open
Chris3606 opened this issue Jan 15, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Chris3606
Copy link
Contributor

Currently, if you pass an index and a count which overflow the edge of the backing array to the Shift* methods, they react differently. ShiftLeft will throw an ArgumentException, whereas ShiftRight will throw an IndexOutOfRange exception.

Ideally, this behavior would be consistent.

@Chris3606 Chris3606 added the bug Something isn't working label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant