gitignore #63
2005 new problems found by Qodana for .NET
Qodana for .NET
2005 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Possible 'null' assignment to non-nullable entity |
🔶 Warning | 581 |
Possible multiple enumeration |
🔶 Warning | 335 |
Auto-property accessor is never used (non-private accessibility) |
🔶 Warning | 306 |
Redundant member initializer |
🔶 Warning | 105 |
Type member is never used (private accessibility) |
🔶 Warning | 94 |
Expression is always 'true' or always 'false' |
🔶 Warning | 77 |
Non-accessed field |
🔶 Warning | 39 |
Redundant explicit type in array creation |
🔶 Warning | 38 |
Use of obsolete symbol |
🔶 Warning | 36 |
Avoid using 'async' lambda when delegate type returns 'void' |
🔶 Warning | 26 |
Non-readonly type member referenced in 'GetHashCode()' |
🔶 Warning | 26 |
Access to modified captured variable |
🔶 Warning | 25 |
Conditional access qualifier expression is known to be null or not null |
🔶 Warning | 23 |
Possible 'System.InvalidOperationException' |
🔶 Warning | 20 |
Redundant using directive |
🔶 Warning | 19 |
Get-only auto-property is never assigned |
🔶 Warning | 16 |
Collection is never updated (non-private accessibility) |
🔶 Warning | 15 |
Unused parameter (private accessibility) |
🔶 Warning | 15 |
Unused local variable |
🔶 Warning | 15 |
'??' condition is known to be null or not null |
🔶 Warning | 14 |
Field is never used |
🔶 Warning | 14 |
Local variable hides member |
🔶 Warning | 11 |
Function never returns |
🔶 Warning | 10 |
Assignment is not used |
🔶 Warning | 10 |
Redundant name qualifier |
🔶 Warning | 9 |
Variable in local function hides variable from outer scope |
🔶 Warning | 9 |
Possible loss of fraction |
🔶 Warning | 8 |
Redundant anonymous type property explicit name |
🔶 Warning | 8 |
Non-accessed field (private accessibility) |
🔶 Warning | 7 |
Parameter hides member |
🔶 Warning | 7 |
Disposal of a variable already captured by the 'using' statement |
🔶 Warning | 5 |
The pattern is redundant, it does not produce any runtime checks |
🔶 Warning | 5 |
Redundant type declaration body |
🔶 Warning | 5 |
Access to disposed captured variable |
🔶 Warning | 4 |
Member hides static member from outer class |
🔶 Warning | 4 |
String.Compare is culture-specific (string.Compare(string, string, bool) is culture-specific) |
🔶 Warning | 4 |
Heuristically unreachable code |
🔶 Warning | 3 |
Method with optional or 'params' parameter is hidden by overload |
🔶 Warning | 3 |
Redundant argument with default value |
🔶 Warning | 3 |
Auto-property accessor is never used (private accessibility) |
🔶 Warning | 3 |
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. |
🔶 Warning | 2 |
Empty general catch clause |
🔶 Warning | 2 |
Expression is always 'null' |
🔶 Warning | 2 |
Suspicious type conversion or check |
🔶 Warning | 2 |
Do not use object initializer for 'using' variable |
🔶 Warning | 2 |
Parameter has no matching param tag in the XML comment |
🔶 Warning | 1 |
Co-variant array conversion |
🔶 Warning | 1 |
Collection content is never queried (non-private accessibility) |
🔶 Warning | 1 |
Non-accessed positional property (non-private accessibility) |
🔶 Warning | 1 |
Private field can be converted into local variable |
🔶 Warning | 1 |
Redundant nullable directive |
🔶 Warning | 1 |
Use preferred 'var' style (when type is simple) |
◽️ Notice | 16 |
Use preferred 'var' style (for built-in types) |
◽️ Notice | 12 |
Use preferred 'var' style (elsewhere) |
◽️ Notice | 4 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 183 in src/Mewdeko/Modules/Searches/OsuCommands.cs
github-actions / Qodana for .NET
Access to disposed captured variable
Captured variable is disposed in the outer scope
Check warning on line 432 in src/Mewdeko/Modules/Searches/Services/SearchesService.cs
github-actions / Qodana for .NET
Access to disposed captured variable
Captured variable is disposed in the outer scope
Check warning on line 84 in src/Mewdeko/Modules/Games/HangmanCommands.cs
github-actions / Qodana for .NET
Access to disposed captured variable
Captured variable is disposed in the outer scope
Check warning on line 871 in src/Mewdeko/Modules/Searches/Searches.cs
github-actions / Qodana for .NET
Access to disposed captured variable
Captured variable is disposed in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 108 in src/Mewdeko/Modules/Utility/Services/OwOServices.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 117 in src/Mewdeko/Modules/Games/Common/TypingGame.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 252 in src/Mewdeko/Modules/Moderation/UserPunishCommands2.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 113 in src/Mewdeko/Modules/Moderation/PruneCommands.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 65 in src/Mewdeko/Modules/Games/AcropobiaCommands.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 523 in src/Mewdeko/Modules/Moderation/UserPunishCommands.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 303 in src/Mewdeko/Modules/Moderation/SlashPunishCommands.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope