254 new problems found by Qodana for .NET
Qodana for .NET
81 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Conditional access qualifier expression is known to be null or not null |
🔶 Warning | 13 |
'??' 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 | 7 |
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 |
'?:' expression has identical true and false branches |
🔶 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 |
Missing grid column/row setter for non-first child |
🔶 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 378 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 399 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
Check warning on line 111 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.Variable.cs
github-actions / Qodana for .NET
'?:' expression has identical true and false branches
'?:' expression has identical true and false branches
Check warning on line 97 in CollapseLauncher/XAMLs/MainApp/Pages/HomePage.Variable.cs
github-actions / Qodana for .NET
'?:' expression has identical true and false branches
'?:' expression has identical true and false branches
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 2361 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 83 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 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 88 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 2425 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 2407 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 2140 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 2385 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 2140 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