[BEEG CHANGES] HoYoPlay API Adjustments #203
243 new problems found by Qodana for .NET
Qodana for .NET
75 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Conditional access qualifier expression is known to be null or not null |
🔶 Warning | 11 |
'??' condition is known to be null or not null |
🔶 Warning | 10 |
Possible 'System.NullReferenceException' |
🔶 Warning | 10 |
Explicit delegate creation expression is redundant |
🔶 Warning | 7 |
Redundant using directive |
🔶 Warning | 6 |
Unused local variable |
🔶 Warning | 5 |
Conditional access qualifier expression is not null according to nullable reference types' annotations |
🔶 Warning | 4 |
Assignment is not used |
🔶 Warning | 3 |
Virtual member call in constructor |
🔶 Warning | 3 |
Possible 'null' assignment to non-nullable entity |
🔶 Warning | 2 |
Async function without await expression |
🔶 Warning | 2 |
Redundant empty object or collection initializer |
🔶 Warning | 2 |
Redundant control flow jump statement |
🔶 Warning | 2 |
Do not use object initializer for 'using' variable |
🔶 Warning | 2 |
Access to disposed captured variable |
🔶 Warning | 1 |
Async method invocation without await expression |
🔶 Warning | 1 |
Invalid XML documentation comment |
🔶 Warning | 1 |
Mismatch of optional parameter value in overridden method |
🔶 Warning | 1 |
Redundant 'base.' qualifier |
🔶 Warning | 1 |
Variable in local function hides variable from outer scope |
🔶 Warning | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Detected 100 dependencies
Third-party software list
This page lists the third-party software dependencies used in CollapseLauncher
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 65 in Hi3Helper.Sophon.Test/Program.cs
github-actions / Qodana for .NET
Access to disposed captured variable
Captured variable is disposed in the outer scope
Check warning on line 383 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.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 404 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.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
Async function without await expression
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
github-actions / Qodana for .NET
Async function without await expression
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Check warning on line 65 in Hi3Helper.Sophon.Test/Program.cs
github-actions / Qodana for .NET
Async method invocation without await expression
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
github-actions / Qodana for .NET
Conditional access qualifier expression is not null according to nullable reference types' annotations
Conditional access qualifier expression is never null according to nullable reference types' annotations
github-actions / Qodana for .NET
Conditional access qualifier expression is not null according to nullable reference types' annotations
Conditional access qualifier expression is never null according to nullable reference types' annotations
github-actions / Qodana for .NET
Conditional access qualifier expression is not null according to nullable reference types' annotations
Conditional access qualifier expression is never null according to nullable reference types' annotations
github-actions / Qodana for .NET
Conditional access qualifier expression is not null according to nullable reference types' annotations
Conditional access qualifier expression is never null according to nullable reference types' annotations
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2430 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2145 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2390 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2145 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 69 in CollapseLauncher/Classes/Helper/Animation/AnimationHelper.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2412 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 76 in CollapseLauncher/Classes/Helper/Animation/AnimationHelper.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2412 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
Conditional access qualifier expression is known to be null or not null
Conditional access qualifier expression is known to be not null
Check warning on line 2390 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
'??' condition is known to be null or not null
'??' left operand is never null
Check warning on line 2430 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
'??' condition is known to be null or not null
'??' left operand is never null
Check warning on line 2430 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs
github-actions / Qodana for .NET
'??' condition is known to be null or not null
'??' left operand is never null
Check warning on line 76 in Hi3Helper.Sophon/Helper/TaskExtensions.cs
github-actions / Qodana for .NET
'??' condition is known to be null or not null
'??' left operand is never null