We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
FN for S3456 (RedundantToCharArrayCall).
Using C#11 utf-8 string literals, the rule is not raising an issue.
public class RedundantToCharArrayCall { public void MyMethod(int propertyValue) { var c = "some string"u8.ToArray()[10]; // FN foreach (var v in "some string"u8.ToArray()) // FN { // ... } } }
The rule should raise an issue.
The rule does not raise an issue.
The text was updated successfully, but these errors were encountered:
gregory-paidis-sonarsource
Successfully merging a pull request may close this issue.
Description
FN for S3456 (RedundantToCharArrayCall).
Using C#11 utf-8 string literals, the rule is not raising an issue.
Repro steps
Expected behavior
The rule should raise an issue.
Actual behavior
The rule does not raise an issue.
The text was updated successfully, but these errors were encountered: