291 new problems found by Qodana for .NET
Qodana for .NET
291 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Possible 'null' assignment to non-nullable entity |
🔶 Warning | 35 |
Possible 'System.NullReferenceException' |
🔶 Warning | 30 |
Virtual member call in constructor |
🔶 Warning | 21 |
Invalid XML documentation comment |
🔶 Warning | 17 |
Redundant using directive |
🔶 Warning | 14 |
Bitwise operation on enum is not marked by [Flags] attribute |
🔶 Warning | 13 |
Redundant nullable warning suppression expression |
🔶 Warning | 12 |
Return value of [MustUseReturnValue] annotated method is not used |
🔶 Warning | 10 |
Redundant catch clause |
🔶 Warning | 10 |
Non-readonly type member referenced in 'GetHashCode()' |
🔶 Warning | 9 |
Assignment is not used |
🔶 Warning | 9 |
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. |
🔶 Warning | 8 |
Unused local variable |
🔶 Warning | 8 |
Conditional access qualifier expression is known to be null or not null |
🔶 Warning | 7 |
Incorrect indent (around child statement) |
🔶 Warning | 6 |
Expression is always 'true' or always 'false' |
🔶 Warning | 6 |
Redundant base constructor call |
🔶 Warning | 6 |
Redundant type declaration body |
🔶 Warning | 6 |
Possible overflow in unchecked context |
🔶 Warning | 5 |
Non-accessed local variable |
🔶 Warning | 5 |
Redundant 'base.' qualifier |
🔶 Warning | 5 |
'??' condition is known to be null or not null |
🔶 Warning | 4 |
Parameter hides member |
🔶 Warning | 4 |
Redundant name qualifier |
🔶 Warning | 4 |
Unsafe context declaration is redundant |
🔶 Warning | 4 |
Underlying type of enum is 'int' |
🔶 Warning | 3 |
Heuristically unreachable code |
🔶 Warning | 3 |
Redundant cast |
🔶 Warning | 3 |
Redundant lambda expression parameter type specification |
🔶 Warning | 3 |
Conditional access qualifier expression is not null according to nullable reference types' annotations |
🔶 Warning | 2 |
Use null check pattern instead of a type check succeeding on any not-null value |
🔶 Warning | 2 |
Member initialized value ignored |
🔶 Warning | 2 |
Mismatch of optional parameter value in overridden method |
🔶 Warning | 2 |
Redundant 'partial' modifier on type declaration |
🔶 Warning | 2 |
Possible null reference argument for a parameter. |
🔶 Warning | 1 |
Collection content is never queried (private accessibility) |
🔶 Warning | 1 |
Expression is always 'true' or 'false' according to nullable reference types' annotations |
🔶 Warning | 1 |
Empty general catch clause |
🔶 Warning | 1 |
Non-accessed field (private accessibility) |
🔶 Warning | 1 |
Cannot resolve symbol in text argument |
🔶 Warning | 1 |
Redundant 'partial' modifier on method declaration |
🔶 Warning | 1 |
The source expression always matches the provided pattern |
🔶 Warning | 1 |
Redundant explicit type in array creation |
🔶 Warning | 1 |
Return value of pure method is not used |
🔶 Warning | 1 |
Variable can be declared as non-nullable |
🔶 Warning | 1 |
💡 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 162 in Hi3Helper.EncTool/Parser/SRMetadata/SRDispatcherInfo.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 95 in Hi3Helper.EncTool/Parser/Proto/src/StarRailDispatchStatic.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 33 in CollapseLauncher/Classes/GameManagement/GameSettings/Honkai/Settings.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 211 in Hi3Helper.EncTool/Parser/Proto/src/StarRailDispatchStatic.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 966 in CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 136 in Hi3Helper.EncTool/Hashes/mhyEncTool.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 49 in Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRMetadataBase.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 111 in Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 31 in Hi3Helper.EncTool/Parser/Proto/src/StarRailDispatchStatic.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 393 in CollapseLauncher/Classes/RegionManagement/RegionManagement.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 151 in Hi3Helper.EncTool/Parser/Proto/src/StarRailGatewayStatic.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 115 in CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 205 in CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 40 in Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRMetadataBase.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity