derskythe / WpfSettings

MIT License
27 stars 5 forks source link

refactor: drop redundant type when declaration's LHS mentions it #12

Closed deepsource-autofix[bot] closed 1 month ago

deepsource-autofix[bot] commented 1 month ago

C# lets you either specify the type or use the var keyword when declaring or instantiating an object. If the type is explicitly spelled out, it can be omitted from the RHS. This syntax is cleaner and concise.

deepsource-io[bot] commented 1 month ago

Here's the code health analysis summary for commits 1102d61..7050027. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource C# LogoC#✅ Success
🎯 2 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.