1951 new problems found by Qodana for .NET
Qodana for .NET
1951 new problems were found
Inspection name | Severity | Problems |
---|---|---|
XAML Errors |
🔴 Failure | 15 |
Auto-property accessor is never used (non-private accessibility) |
🔶 Warning | 1449 |
Possible 'System.NullReferenceException' |
🔶 Warning | 62 |
Method return value is never used (private accessibility) |
🔶 Warning | 43 |
Bitwise operation on enum that is not marked by the [Flags] attribute |
🔶 Warning | 29 |
Assignment is not used |
🔶 Warning | 26 |
Redundant cast |
🔶 Warning | 21 |
Virtual member call in constructor |
🔶 Warning | 21 |
Conditional access qualifier expression is not null according to nullable reference types' annotations |
🔶 Warning | 17 |
Possible 'null' assignment to non-nullable entity |
🔶 Warning | 15 |
Expression is always 'true' or 'false' according to nullable reference types' annotations |
🔶 Warning | 13 |
Remove redundant attached property setter |
🔶 Warning | 13 |
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. |
🔶 Warning | 12 |
Redundant catch clause |
🔶 Warning | 11 |
Access to modified captured variable |
🔶 Warning | 10 |
Unused local variable |
🔶 Warning | 10 |
Property value is equal to style-provided |
🔶 Warning | 10 |
Redundant using directive |
🔶 Warning | 9 |
Missing grid column/row setter for non-first child |
🔶 Warning | 9 |
Incorrect indent (around child statement) |
🔶 Warning | 8 |
Collection is never updated (non-private accessibility) |
🔶 Warning | 8 |
Underlying type of enum is 'int' |
🔶 Warning | 7 |
Non-accessed local variable |
🔶 Warning | 7 |
Unassigned field |
🔶 Warning | 7 |
'??' condition is known to be null or not null |
🔶 Warning | 6 |
Parameter hides member |
🔶 Warning | 6 |
Unsafe context declaration is redundant |
🔶 Warning | 6 |
Avoid mixing of variable-length escape sequences and text |
🔶 Warning | 6 |
Cannot resolve reference in XML comment |
🔶 Warning | 5 |
This takes the address of, gets the size of, or declares a pointer to a managed type. |
🔶 Warning | 5 |
Possible null reference assignment. |
🔶 Warning | 5 |
Conditional access qualifier expression is known to be null or not null |
🔶 Warning | 5 |
Redundant nullable warning suppression expression |
🔶 Warning | 5 |
Async method invocation without await expression |
🔶 Warning | 4 |
Dereference of a possibly null reference. |
🔶 Warning | 4 |
Member initialized value ignored |
🔶 Warning | 4 |
Redundant control flow jump statement |
🔶 Warning | 4 |
Auto-property accessor is never used (private accessibility) |
🔶 Warning | 4 |
Non-accessed field (private accessibility) |
🔶 Warning | 3 |
Possible 'System.InvalidOperationException' |
🔶 Warning | 3 |
Actual shift count equals zero |
🔶 Warning | 3 |
Grid element column/row index is out of grid definition range |
🔶 Warning | 3 |
Declaring new protected member in sealed class is the same as declaring it as private |
🔶 Warning | 2 |
Converting null literal or possible null value to non-nullable type. |
🔶 Warning | 2 |
Collection content is never queried (non-private accessibility) |
🔶 Warning | 2 |
'?:' expression has identical true and false branches |
🔶 Warning | 2 |
Empty general catch clause |
🔶 Warning | 2 |
Inconsistent synchronization on field |
🔶 Warning | 2 |
Non-accessed field |
🔶 Warning | 2 |
Redundant base constructor call |
🔶 Warning | 2 |
Redundant lambda expression parameter type specification |
🔶 Warning | 2 |
Variable in local function hides variable from outer scope |
🔶 Warning | 2 |
Path error |
🔶 Warning | 2 |
RoslynAnalyzers Use properties where appropriate |
🔶 Warning | 1 |
Code is unreachable |
🔶 Warning | 1 |
Operator '==' or operator '!=' with 'Object.Equals(object o)' and 'Object.GetHashCode()' not overridden |
🔶 Warning | 1 |
Possible null reference return. |
🔶 Warning | 1 |
Nullable value type may be null. |
🔶 Warning | 1 |
Collection content is never queried (private accessibility) |
🔶 Warning | 1 |
Expression is always 'true' or always 'false' |
🔶 Warning | 1 |
Struct with default equality members is used for comparison (non-private accessibility) |
🔶 Warning | 1 |
Heuristically unreachable code |
🔶 Warning | 1 |
Cannot resolve symbol in text argument |
🔶 Warning | 1 |
Mismatch of optional parameter value in overridden method |
🔶 Warning | 1 |
Parameter output value is always discarded (private accessibility) |
🔶 Warning | 1 |
Explicit delegate creation expression is redundant |
🔶 Warning | 1 |
Redundant 'object.ToString()' call |
🔶 Warning | 1 |
Do not use object initializer for 'using' variable |
🔶 Warning | 1 |
Redundant namespace alias |
🔶 Warning | 1 |
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- 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 573 in Hi3Helper.Sophon/SophonAsset.Download.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 558 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 445 in Hi3Helper.Sophon/SophonAsset.Diff.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 451 in Hi3Helper.Sophon/SophonAsset.Diff.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 435 in Hi3Helper.Sophon/SophonAsset.Diff.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 579 in Hi3Helper.Sophon/SophonAsset.Download.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 547 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 546 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 563 in Hi3Helper.Sophon/SophonAsset.Download.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 548 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Access to modified captured variable
Captured variable is modified in the outer scope
Check warning on line 122 in CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 231 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 242 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 429 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 245 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 443 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 446 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 67 in Hi3Helper.EncTool/Parser/XMFParser/Class/XMFUtility.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 203 in CollapseLauncher/XAMLs/MainApp/MainWindow.xaml.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 220 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 14 in CollapseLauncher/XAMLs/Invoker/Classes/TakeOwnership.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 432 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 228 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 421 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 37 in CollapseLauncher/XAMLs/Invoker/Classes/Migrate.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity