prozolic

Results comments of prozolic

As an indirect factor, I think the upper limit guard using `int.MaxValue` that I adjusted in #128 is also related. For example, Removing this check and adding checked will cause...

I noticed this issue has been open for a while. I'd like to work on a fix if no one is currently assigned to it. Since this would be a...

Thank you!, @jeffhandley. I have also fixed the `FindLastIndex` which has the same bug as `LastIndexOf`, and submitted a PR for review. Please let me know if you would like...

@ViveliDuCh In my opinion, since `ImmutableArray.LastIndexOf` and `Array.LastIndexOf` uses `Requires.Range`(`ArgumentOutOfRangeException`) for similar conditional checks, I think it would be better to align with `Requires.Range` for consistency. https://github.com/dotnet/runtime/blob/main/src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableArray_1.cs#L261-L263 https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/Array.cs#L2153-L2156

@ViveliDuCh @jeffhandley Thank you for checking. Regarding the `Requires.Argument` usage in `LastIndexOf` and `FindLastIndex`, I plan to change them to `Requires.Range` for consistency. I would like to create a separate...

I have created a follow-up PR at #124560, so please continue reviewing it.

@ViveliDuCh @jeffhandley Thank you for reviewing the PR!

This has been resolved by #124161 and #124560. Can this be closed?

Is this issue still open for contributions? I'd like to work on a fix if no one is actively assigned to it. I'm planning to make the following changes to...