Skip to content

Conversation

@bbartels
Copy link
Contributor

Fixes #39140

This is a continuation from: #39853

I am slightly unsure what scenario could lead to needing to fallback to string.Compare in regards to null re: #39853 (comment)

The tests were taken verbatim from #39853

I've made a couple style changes to other parts of the StringSegment file, I'll remove them if undesired.

/cc: @GrabYourPitchforks

@ghost
Copy link

ghost commented Dec 26, 2020

Tagging subscribers to this area: @eerhardt, @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #39140

This is a continuation from: #39853

I am slightly unsure what scenario could lead to needing to fallback to string.Compare in regards to null re: #39853 (comment)

The tests were taken verbatim from #39853

I've made a couple style changes to other parts of the StringSegment file, I'll remove them if undesired.

/cc: @GrabYourPitchforks

Author: bbartels
Assignees: -
Labels:

area-Extensions-Primitives

Milestone: -

@GrabYourPitchforks
Copy link
Member

There's already an active PR for this: #45022

@bbartels
Copy link
Contributor Author

There's already an active PR for this: #45022

Oh woops, I'll close this 😅

@bbartels bbartels closed this Dec 27, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StringSegment.EndsWith inconsistent (buggy?) behavior

3 participants