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

Enable CA1847: Use char literal for a single character lookup #13921

Open
Youssef1313 opened this issue Oct 6, 2023 · 0 comments
Open

Enable CA1847: Use char literal for a single character lookup #13921

Youssef1313 opened this issue Oct 6, 2023 · 0 comments
Labels
area/performance 📈 Categorizes an issue or PR as relevant to performance difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers kind/enhancement New feature or request platform/all Categorizes an issue or PR as relevant to the all platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools

Comments

@Youssef1313
Copy link
Member

What would you like to be added

Currently it's not enabled. We should consider enabling it.

uno/.globalconfig

Lines 97 to 98 in c756a0c

# CA1847: Use char literal for a single character lookup
dotnet_diagnostic.CA1847.severity = none

#13920 reminded me of this analyzer :)

Why is this needed

Performance

For which platform

No response

Anything else we need to know?

No response

@Youssef1313 Youssef1313 added kind/enhancement New feature or request triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools area/performance 📈 Categorizes an issue or PR as relevant to performance platform/all Categorizes an issue or PR as relevant to the all platforms labels Oct 6, 2023
@MartinZikmund MartinZikmund added difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance 📈 Categorizes an issue or PR as relevant to performance difficulty/starter 🚀 Categorizes an issue for which the difficulty level is reachable by newcomers kind/enhancement New feature or request platform/all Categorizes an issue or PR as relevant to the all platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools
Projects
None yet
Development

No branches or pull requests

2 participants