-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Negative Length in ReadOnlySequence #57472
Comments
dotnet-issue-labeler
bot
added
area-System.Memory
untriaged
New issue has not been triaged by the area owner
labels
Aug 16, 2021
Tagging subscribers to this area: @GrabYourPitchforks, @dotnet/area-system-memory Issue DetailsDescriptionIn some cases Length of ReadOnlySequence was Negative. Test for reproduce problem: ReadOnlySequenceTests.cs Configuration.Net SDK: 5.0.400, 6.0.100-preview.7.21379.14
|
adamsitnik
added
bug
and removed
untriaged
New issue has not been triaged by the area owner
labels
Aug 16, 2021
I've confirmed that it's reproducible on 3.1, 5.0 and 6.0 and I am 99.9% sure it's a bug. I am on it. |
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Aug 16, 2021
ghost
removed
the
in-pr
There is an active PR which will close this issue when it is merged
label
Aug 16, 2021
ghost
locked as resolved and limited conversation to collaborators
Sep 15, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
In some cases Length of ReadOnlySequence was Negative.
Test for reproduce problem: ReadOnlySequenceTests.cs
Configuration
.Net SDK: 5.0.400, 6.0.100-preview.7.21379.14
Solution
In file
~\dotnet\runtime\src\libraries\System.Memory\src\System\Buffers\ReadOnlySequence.cs
replace folowing string:The text was updated successfully, but these errors were encountered: