Skip to content

Qodana

Qodana #156

GitHub Actions / Qodana for .NET completed Oct 25, 2024 in 0s

1911 new problems found by Qodana for .NET

Qodana for .NET

1911 new problems were found

Inspection name Severity Problems
XAML Errors 🔴 Failure 4
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 1295
Possible 'System.NullReferenceException' 🔶 Warning 80
Possible 'null' assignment to non-nullable entity 🔶 Warning 42
Invalid XML documentation comment 🔶 Warning 33
Assignment is not used 🔶 Warning 30
Redundant cast 🔶 Warning 30
Virtual member call in constructor 🔶 Warning 26
Conditional access qualifier expression is not null according to nullable reference types' annotations 🔶 Warning 21
Redundant catch clause 🔶 Warning 18
Conditional access qualifier expression is known to be null or not null 🔶 Warning 17
Unused local variable 🔶 Warning 15
Expression is always 'true' or 'false' according to nullable reference types' annotations 🔶 Warning 13
Redundant using directive 🔶 Warning 13
Incorrect indent (around child statement) 🔶 Warning 12
Redundant control flow jump statement 🔶 Warning 12
Access to modified captured variable 🔶 Warning 10
Method return value is never used (private accessibility) 🔶 Warning 10
Property value is equal to style-provided 🔶 Warning 10
Non-readonly type member referenced in 'GetHashCode()' 🔶 Warning 9
Redundant base constructor call 🔶 Warning 9
Unsafe context declaration is redundant 🔶 Warning 9
Underlying type of enum is 'int' 🔶 Warning 8
Possible multiple enumeration 🔶 Warning 8
Unassigned field 🔶 Warning 8
'??' condition is known to be null or not null 🔶 Warning 7
Non-accessed field (private accessibility) 🔶 Warning 7
Missing grid column/row setter for non-first child 🔶 Warning 7
Expression is always 'true' or always 'false' 🔶 Warning 6
Member initialized value ignored 🔶 Warning 6
Non-accessed local variable 🔶 Warning 6
Parameter hides member 🔶 Warning 6
Redundant lambda expression parameter type specification 🔶 Warning 6
Avoid mixing of variable-length escape sequences and text 🔶 Warning 6
Bitwise operation on enum that is not marked by the [Flags] attribute 🔶 Warning 5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 🔶 Warning 5
Possible overflow in unchecked context 🔶 Warning 5
Auto-property accessor is never used (private accessibility) 🔶 Warning 5
Variable can be declared as non-nullable 🔶 Warning 5
Use of obsolete symbol 🔶 Warning 4
Collection content is never queried (non-private accessibility) 🔶 Warning 4
Collection is never updated (non-private accessibility) 🔶 Warning 4
Empty general catch clause 🔶 Warning 4
Cannot resolve symbol in text argument 🔶 Warning 4
Unused nullable directive 🔶 Warning 4
Async method invocation without await expression 🔶 Warning 3
Heuristically unreachable code 🔶 Warning 3
Inconsistent synchronization on field 🔶 Warning 3
Local variable hides member 🔶 Warning 3
Mismatch of optional parameter value in overridden method 🔶 Warning 3
Redundant 'base.' qualifier 🔶 Warning 3
Actual shift count equals zero 🔶 Warning 3
Grid element column/row index is out of grid definition range 🔶 Warning 3
Collection content is never queried (private accessibility) 🔶 Warning 2
'?:' expression has identical true and false branches 🔶 Warning 2
Use null check pattern instead of a type check succeeding on any not-null value 🔶 Warning 2
Non-accessed field 🔶 Warning 2
Possible unassigned object created by 'new' expression 🔶 Warning 2
Explicit delegate creation expression is redundant 🔶 Warning 2
Redundant 'IEnumerable.Cast<T>' or 'IEnumerable.OfType<T>' call 🔶 Warning 2
Variable in local function hides variable from outer scope 🔶 Warning 2
Path error 🔶 Warning 2
Dereference of a possibly null reference. 🔶 Warning 1
Possible null reference argument for a parameter. 🔶 Warning 1
Co-variant array conversion 🔶 Warning 1
Struct with default equality members is used for comparison (non-private accessibility) 🔶 Warning 1
Empty constructor 🔶 Warning 1
Parameter output value is always discarded (private accessibility) 🔶 Warning 1
Redundant 'partial' modifier on method declaration 🔶 Warning 1
The source expression always matches the provided pattern 🔶 Warning 1
Possible 'System.InvalidCastException' in foreach loop 🔶 Warning 1
Possible 'System.InvalidOperationException' 🔶 Warning 1
Possible loss of fraction 🔶 Warning 1
Redundant nullable warning suppression expression 🔶 Warning 1
Redundant 'object.ToString()' call 🔶 Warning 1
Redundant type arguments of method 🔶 Warning 1
Return value of pure method is not used 🔶 Warning 1
String.IndexOf is culture-specific (string.IndexOf(string) is culture-specific) 🔶 Warning 1
String.LastIndexOf is culture-specific (string.LastIndexOf(string) is culture-specific) 🔶 Warning 1
Usage of default struct equality 🔶 Warning 1
Do not use object initializer for 'using' variable 🔶 Warning 1
Remove redundant attached property setter 🔶 Warning 1
Redundant namespace alias 🔶 Warning 1

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 547 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 560 in Hi3Helper.Sophon/SophonAsset.Download.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 434 in Hi3Helper.Sophon/SophonAsset.Diff.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 424 in Hi3Helper.Sophon/SophonAsset.Diff.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 550 in Hi3Helper.Sophon/SophonAsset.Download.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 566 in Hi3Helper.Sophon/SophonAsset.Download.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 440 in Hi3Helper.Sophon/SophonAsset.Diff.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 232 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/InstallationConvert.xaml.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 59 in CollapseLauncher/Classes/RepairManagement/Genshin/GenshinRepair.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 53 in SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 79 in CollapseLauncher/Classes/RegistryMonitor/RegistryMonitor.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 132 in CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 50 in Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRMetadataBase.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 400 in CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 259 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/InstallationConvert.xaml.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 128 in CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity