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
Remove some unnecessary Substrings #87479
Conversation
Tagging subscribers to this area: @dotnet/area-meta Issue Detailsnull
|
I thought the Can't we extend this analyzer to highlight the SubString usage as well!? Thoughts? |
Most of these would be challenging to catch in an analyzer in any time-boxed manner, e.g. where you're calling a method that accepts and returns a string, where the output of that method is fed into one that can take either a substring or a span, where the input to the method is being substring'd, and, critically, where the analyzer can see into the implementation of that called method and determine that both its argument and return value could be changed to spans without changing semantics. |
No description provided.