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

String operations with StringComparison argument #2601

Open
alfonsogarciacaro opened this issue Nov 11, 2021 · 2 comments
Open

String operations with StringComparison argument #2601

alfonsogarciacaro opened this issue Nov 11, 2021 · 2 comments

Comments

@alfonsogarciacaro
Copy link
Member

Right now the following replacements for string ignore the StringComparison argument, maybe others too:

  • IndexOf
  • StartsWith
  • EndsWith

Not entirely related, but because I'm too lazy to open another issue, also ToString seems to fail with CultureInfo.InvariantCulture argument, see #2600

@kerams
Copy link
Contributor

kerams commented Nov 11, 2021

This is a repro for my problem.

@MaxWilson
Copy link
Contributor

Contains seems to ignore it too.

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

No branches or pull requests

3 participants