Skip to content

Qodana

Qodana #115

Triggered via schedule July 24, 2024 00:51
Status Success
Total duration 10m 33s
Artifacts

qodana-scan.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

1000 warnings
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L138
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L138
Possible 'null' assignment to non-nullable entity
Assignment in conditional expression: CollapseLauncher/Classes/Interfaces/Class/GamePropertyBase.cs#L31
Assignment in conditional expression; did you mean to use '==' instead of '='?
Assignment in conditional expression: CollapseLauncher/Classes/FileMigrationProcess/IO.cs#L113
Assignment in conditional expression; did you mean to use '==' instead of '='?
Incorrect indent (around child statement): Hi3Helper.EncTool/Hashes/HexTool.cs#L85
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/GameManagement/GameSettings/BaseClass/ImportExportBase.cs#L70
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Parser/XMFParser/Class/XMFAsset.cs#L104
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/Helper/Image/ImageLoaderHelper.cs#L277
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L261
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L262
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/Helper/Image/ImageLoaderHelper.cs#L265
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L298
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/Genshin/Check.cs#L282
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L260
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Hashes/HexTool.cs#L121
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Hashes/HexTool.cs#L122
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/App.xaml.cs#L63
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L263
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Parser/XMFParser/Class/XMFAsset.cs#L103
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/XAMLs/Theme/CustomControls/CommunityToolkit.Labs/MarkdownTextBlock/DefaultSVGRenderer.cs#L21
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/FileMigrationProcess/IO.cs#L26
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L259
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.Core/Classes/Data/Tools/SevenZipTool/SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs#L88
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs#L103
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Bitwise operation on enum is not marked by [Flags] attribute: CollapseLauncher/Classes/ClassesContext.cs#L16
Bitwise operation on enum is not marked by \[Flags\] attribute
Co-variant array conversion: CollapseLauncher/Classes/InstallManagement/BaseClass/GameInstallPackage.cs#L187
Co-variant array conversion from FileStream\[\] to Stream\[\] can cause run-time exception on write operation
Collection content is never queried (non-private accessibility): CollapseLauncher/Classes/Interfaces/Class/CommunityToolsProperty.cs#L18
Content of collection 'OfficialToolsList' is only updated but never used
Collection content is never queried (non-private accessibility): CollapseLauncher/Classes/Interfaces/Class/CommunityToolsProperty.cs#L20
Content of collection 'CommunityToolsList' is only updated but never used
Collection content is never queried (private accessibility): CollapseLauncher/XAMLs/MainApp/Pages/OOBE/OOBEAgreementMenu.xaml.cs#L40
Content of collection 'markdownFileList' is only updated but never used
Conditional access qualifier expression is not null according to nullable reference types' annotations: Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs#L66
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: CollapseLauncher/Classes/Helper/LauncherApiLoader/Sophon/LauncherGameNews.cs#L108
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: CollapseLauncher/Classes/Helper/LauncherApiLoader/Sophon/LauncherGameNews.cs#L86
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: CollapseLauncher/Classes/Helper/LauncherApiLoader/Sophon/LauncherGameNews.cs#L131
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/SessionManager.cs#L251
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/Session.cs#L198
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Core/Classes/Data/InvokeProp.cs#L305
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/Session.cs#L198
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/SessionManager.cs#L251
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/SessionManager.cs#L251
Conditional access qualifier expression is known to be not null
Use null check pattern instead of a type check succeeding on any not-null value: Hi3Helper.EncTool/Misc/ConverterTool.cs#L307
Use not null pattern instead of a type check succeeding on any not-null value
Use null check pattern instead of a type check succeeding on any not-null value: Hi3Helper.EncTool/Misc/ConverterTool.cs#L309
Use not null pattern instead of a type check succeeding on any not-null value
Empty constructor: CollapseLauncher/XAMLs/MainApp/MainWindow.xaml.cs#L30
Empty constructor is redundant. The compiler generates the same by default.
Empty general catch clause: Hi3Helper.Http/Class/Session/SessionManager.cs#L200
Empty general catch clause suppresses any errors
Empty general catch clause: Hi3Helper.Http/Class/Session/SessionManager.cs#L223
Empty general catch clause suppresses any errors
Underlying type of enum is 'int': Hi3Helper.Http/Class/Event/Enums.cs#L12
'int' is default enum governing type
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L284
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L288
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/TypeExtensions.cs#L55
Code is heuristically unreachable
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L118
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L257
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L191
Possible overflow in unchecked context
Invalid XML documentation comment: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L78
Parameter 'leaveOpen' has no matching param tag in the XML comment for CollapseLauncher.BinaryPatchUtility.Initialize (but other parameters do)
Invalid XML documentation comment: CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs#L293
Parameter 'throwAction' has no matching param tag in the XML comment for CollapseLauncher.Helper.Background.BackgroundMediaUtility.LoadBackground (but other parameters do)
Invalid XML documentation comment: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFBlock.cs#L20
Parameter 'isMeta' has no matching param tag in the XML comment for Hi3Helper.EncTool.Parser.XMFBlock.XMFBlock (but other parameters do)
Invalid XML documentation comment: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFUtility.cs#L24
Parameter 'xmfFS' has no matching param tag in the XML comment for Hi3Helper.EncTool.Parser.AssetMetadata.XMFUtility.GetXMFVersion (but other parameters do)
Invalid XML documentation comment: CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs#L294
Parameter 'actionAfterLoaded' has no matching param tag in the XML comment for CollapseLauncher.Helper.Background.BackgroundMediaUtility.LoadBackground (but other parameters do)
Local variable hides member: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L168
Local variable 'rootCommand' hides field 'RootCommand CollapseLauncher.ArgumentParser.rootCommand'
Local variable hides member: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L252
Local variable 'rootCommand' hides field 'RootCommand CollapseLauncher.ArgumentParser.rootCommand'
Local variable hides member: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L192
Local variable 'rootCommand' hides field 'RootCommand CollapseLauncher.ArgumentParser.rootCommand'
Member initialized value ignored: CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs#L448
Field initializer value ignored during initialization
Member initialized value ignored: Hi3Helper.SharpDiscordRPC/DiscordRPC/IO/ManagedNamedPipeClient.cs#L50
Field initializer value ignored during initialization
Member initialized value ignored: CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs#L447
Field initializer value ignored during initialization
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L273
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L251
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L237
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Streams/CacheStream/CacheStream.cs#L61
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L230
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L244
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/UABT/UABT/AssetBundle/TextAsset.cs#L35
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFUtility.cs#L30
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L265
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L258
Return value of method is not used. Fewer bytes can be read than requested
Non-accessed field: CollapseLauncher/Classes/EventsManagement/EventsHandler.cs#L24
Field 'UpdateChannelName' is assigned but its value is never used
Non-accessed field (private accessibility): Hi3Helper.EncTool/Parser/XMFParser/XMFParser.cs#L17
Field '_isMeta' is assigned but its value is never used
Non-accessed field (private accessibility): Hi3Helper.EncTool/Streams/CacheStream/CacheStream.cs#L23
Field '_allowDispose' is assigned but its value is never used
Non-accessed field (private accessibility): CollapseLauncher/Classes/DiscordPresence/DiscordPresenceManager.cs#L37
Field '_lastAttemptedActivityType' is assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRAMBMMetadataReader/SRAMBMMetadataReader.cs#L81
Local variable 'numA4' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRAMBMMetadataReader/SRAMBMMetadataReader.cs#L82
Local variable 'numA5' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/Lua/SRLuaMetadata.cs#L29
Local variable 'ver' is only assigned but its value is never used
Non-accessed local variable: CollapseLauncher/Classes/GameManagement/GameSettings/Honkai/RegistryClass/Preset.cs#L114
Local variable 'presetKey' is only assigned but its value is never used
Non-accessed local variable: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/SRAMBMMetadataReader/SRAMBMMetadataReader.cs#L80
Local variable 'numA3' is only assigned but its value is never used
Return value must be disposed but the method or function is not annotated with [MustDisposeResource]: Hi3Helper.Core/Classes/Data/Tools/IniFile.cs#L487
Return value must be disposed but method 'GetEnumerator' is not annotated with \[MustDisposeResource\]
Cannot resolve symbol in text argument: Hi3Helper.Sophon/Helper/Extension.cs#L307
Cannot resolve symbol 'Directory path cannot be empty or null!'
Cannot resolve symbol in text argument: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L105
Cannot resolve symbol 'Input Stream cannot be null!'
Cannot resolve symbol in text argument: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L109
Cannot resolve symbol 'Patch cannot be null!'
Cannot resolve symbol in text argument: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L113
Cannot resolve symbol 'Output Stream cannot be null!'
Cannot resolve symbol in text argument: Hi3Helper.EncTool/Streams/ChunkStream.cs#L30
Cannot resolve symbol 'Offset is out of stream size range!'
Mismatch of optional parameter value in overridden method: Hi3Helper.EncTool/Streams/ChunkStream.cs#L54
Parameter cancellationToken in base method 'ValueTask ReadAsync(Memory, CancellationToken)' has default value
Mismatch of optional parameter value in overridden method: Hi3Helper.Http/Class/Session/Session.cs#L88
Optional parameter default value differs from parameter cancellationToken in base method 'Task ReadAsync(byte\[\], int, int, CancellationToken)'
Mismatch of optional parameter value in overridden method: Hi3Helper.EncTool/Streams/ChunkStream.cs#L98
Parameter cancellationToken in base method 'ValueTask WriteAsync(ReadOnlyMemory, CancellationToken)' has default value
Parameter hides member: Hi3Helper.Http/Class/Event/DownloadEvent.cs#L16
Parameter 'SizeToBeDownloaded' hides property 'long Hi3Helper.Http.DownloadEvent.SizeToBeDownloaded'
Parameter hides member: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L409
Parameter 'Read' hides property 'long CollapseLauncher.BinaryPatchProgress.Read'
Parameter hides member: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L409
Parameter 'SizePatched' hides property 'long CollapseLauncher.BinaryPatchProgress.SizePatched'
Parameter hides member: Hi3Helper.Http/Class/Event/DownloadEvent.cs#L17
Parameter 'Read' hides property 'long Hi3Helper.Http.DownloadEvent.Read'
Parameter hides member: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L409
Parameter 'SizeToBePatched' hides property 'long CollapseLauncher.BinaryPatchProgress.SizeToBePatched'
Parameter hides member: Hi3Helper.Http/HttpMulti.cs#L8
Parameter 'ConnectionSessions' hides field 'byte Hi3Helper.Http.Http.ConnectionSessions'
Parameter hides member: Hi3Helper.EncTool/UABT/LZ4/LZ4DecoderStream.cs#L93
Parameter 'input' hides field 'Stream Hi3Helper.UABT.LZ4.LZ4DecoderStream.input'
Parameter hides member: Hi3Helper.Http/Class/Session/Session.cs#L271
Parameter 'OffsetEnd' hides field 'long? Hi3Helper.Http.Session.OffsetEnd'
Parameter hides member: Hi3Helper.EncTool/UABT/LZ4/LZ4DecoderStream.cs#L93
Parameter 'inputLength' hides field 'long Hi3Helper.UABT.LZ4.LZ4DecoderStream.inputLength'
Parameter hides member: Hi3Helper.Http/Class/Event/DownloadEvent.cs#L16
Parameter 'SizeDownloaded' hides property 'long Hi3Helper.Http.DownloadEvent.SizeDownloaded'
Parameter hides member: Hi3Helper.Http/Class/Session/Session.cs#L271
Parameter 'OffsetStart' hides field 'long? Hi3Helper.Http.Session.OffsetStart'
The source expression always matches the provided pattern: Hi3Helper.EncTool/Misc/ConverterTool.cs#L305
The source expression always matches the provided pattern
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L41
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L38
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L40
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L68
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L67
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L39
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L66
Possible multiple enumeration
Possible multiple enumeration: ColorThief/ColorThief/ColorThief.cs#L69
Possible multiple enumeration
Possible 'System.NullReferenceException': Hi3Helper.EncTool/Misc/TypeExtensions.cs#L65
Possible 'System.NullReferenceException'
Possible 'System.NullReferenceException': Hi3Helper.EncTool/Misc/TypeExtensions.cs#L64
Possible 'System.NullReferenceException'
Possible unintended reference comparison: Hi3Helper.Core/Classes/Data/Tools/IniFile.cs#L450
Possible unintended reference comparison. To get a value comparison, use 'Equals' method.
Possible unintended reference comparison: Hi3Helper.Core/Classes/Data/Tools/IniFile.cs#L507
Possible unintended reference comparison. To get a value comparison, use 'Equals' method.
Assignment is not used: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L265
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.Http/Class/Session/SessionTask.cs#L52
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/Registry/UriScheme.cs#L51
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs#L65
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Parser/Proto/src/StarRailGatewayStatic.cs#L285
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/Helper/Metadata/LauncherMetadataHelper.cs#L644
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.Http/Class/Session/SessionManager.cs#L106
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/RPC/RpcConnection.cs#L79
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/Helper/Metadata/LauncherMetadataHelper.cs#L666
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs#L478
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/RepairManagement/StarRail/Fetch.cs#L148
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Parser/SRMetadata/SRMetadataReader/Lua/SRLuaMetadata.cs#L33
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Hashes/HexTool.cs#L117
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/XAMLs/MainApp/Pages/OOBE/OOBEStartUpMenu.xaml.cs#L157
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.Sophon/SophonAsset.Diff.cs#L289
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/CachesManagement/Honkai/Fetch.cs#L205
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/IO/ManagedNamedPipeClient.cs#L210
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/Registry/UnixUriSchemeCreator.cs#L33
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/Streams/SpanStream.cs#L31
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/Extension/UIElementExtensions.cs#L650
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.EncTool/WindowTool/ResizableWindowHook/ResizableWindowHook.cs#L17
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/XAMLs/MainApp/MainWindow.xaml.cs#L93
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.SharpDiscordRPC/DiscordRPC/RPC/RpcConnection.cs#L611
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.Http/Class/Session/SessionTask.cs#L52
Value assigned is not used in any execution path
Assignment is not used: Hi3Helper.Http/Class/Session/SessionManager.cs#L69
Value assigned is not used in any execution path
Redundant 'IEnumerable.Cast<T>' or 'IEnumerable.OfType<T>' call: CollapseLauncher/App.xaml.cs#L137
Redundant 'IEnumerable.OfType' call. Consider comparing with 'null' instead.
Redundant 'IEnumerable.Cast<T>' or 'IEnumerable.OfType<T>' call: CollapseLauncher/App.xaml.cs#L130
Redundant 'IEnumerable.OfType' call. Consider comparing with 'null' instead.
Redundant class or interface specification in base types list: CollapseLauncher/Classes/GameManagement/GameVersion/StarRail/VersionCheck.cs#L10
Base interface 'IGameVersionCheck' is redundant because CollapseLauncher.GameVersioning.GameTypeStarRailVersion inherits 'GameVersionBase'
Redundant class or interface specification in base types list: CollapseLauncher/Classes/GameManagement/GameVersion/Genshin/VersionCheck.cs#L7
Base interface 'IGameVersionCheck' is redundant because CollapseLauncher.GameVersioning.GameTypeGenshinVersion inherits 'GameVersionBase'
Redundant nullable warning suppression expression: CollapseLauncher/Classes/RepairManagement/Honkai/Fetch.cs#L240
The nullable warning suppression expression is redundant
Redundant using directive: CollapseLauncher/Classes/Helper/StreamUtility.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Helper/StreamUtility.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.Variable.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.Http/Class/Session/SessionTask.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: Hi3Helper.Http/Class/IO.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/RepairManagement/StarRail/Repair.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Helper/StreamUtility.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Helper/StreamUtility.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Helper/StreamUtility.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Helper/Metadata/LauncherMetadataHelper.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/RepairManagement/Honkai/Repair.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: CollapseLauncher/Classes/Helper/StreamUtility.cs#L6
Using directive is not required by the code and can be safely removed
Actual shift count equals zero: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L100
Actual shift count equals zero. Left operand will remain unchanged.
Actual shift count equals zero: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L107
Actual shift count equals zero. Left operand will remain unchanged.
Actual shift count equals zero: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L114
Actual shift count equals zero. Left operand will remain unchanged.
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L46
Auto-property accessor 'CgPathLowBitrateCN.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.Http/Class/Session/Session.cs#L343
Auto-property accessor 'SessionRetryAttempt.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L48
Auto-property accessor 'CgPathLowBitrateJP.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L55
Auto-property accessor 'FileSizeLowBitrateCN.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L57
Auto-property accessor 'FileSizeLowBitrateJP.get' is never used
Unused local variable: Hi3Helper.EncTool/Misc/ConverterTool.cs#L120
Local variable 'inputSignedPtr' is never used
Unused local variable: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L266
Local variable 'buffer' is never used
Unused local variable: CollapseLauncher/XAMLs/MainApp/Pages/UpdatePage.xaml.cs#L121
Local variable 'ExecutableLocation' is never used
Unused local variable: CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs#L1023
Local variable 'isShowBackButton' is never used
Unused local variable: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L167
Local variable 'ptrToPckType' is never used
Unused local variable: CollapseLauncher/Classes/CachesManagement/Honkai/Fetch.cs#L243
Local variable 'isFirst' is never used
Unused local variable: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L190
Local variable 'CgGroupIDCount' is never used
Unused local variable: Hi3Helper.SharpDiscordRPC/DiscordRPC/RichPresence.cs#L794
Local variable 'uriResult' is never used
Unused local variable: CollapseLauncher/Classes/CachesManagement/Honkai/Fetch.cs#L244
Local variable 'isNeedReadLuckyNumber' is never used
Unused local variable: Hi3Helper.EncTool/Parser/AssetIndex/AssetIndexV2.cs#L118
Local variable 'read' is never used
Unused local variable: CollapseLauncher/XAMLs/Invoker/Classes/Migrate.cs#L25
Local variable 'pripath' is never used
Unused local variable: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L192
Local variable 'rootCommand' is never used
Unused local variable: ColorThief/ColorThief/ColorThief.cs#L212
Local variable 'bufferLength' is never used
Do not use object initializer for 'using' variable: Hi3Helper.Http/Class/Session/SessionManager.cs#L247
Initialize object properties inside the 'using' statement to ensure that the object is disposed if an exception is thrown during initialization
Variable can be declared as non-nullable: CollapseLauncher/Classes/RepairManagement/Honkai/Fetch.cs#L610
'tempXMFMetaStream' can be declared as non-nullable
Grid element column/row index is out of grid definition range: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L451
Column index 2 is out of grid column definitions range (0-1)
Grid element column/row index is out of grid definition range: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml#L274
Column index 1 is out of grid column definitions range (0-0)
Grid element column/row index is out of grid definition range: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L104
Column index 0 with span 7 is out of grid column definitions range (0-0)
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/CachesPage.xaml#L126
Attached property setter 'Grid.Row' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L378
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/Pages/GameSettingsPages/HonkaiGameSettingsPage.xaml#L207
Attached property setter 'Grid.Column' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L379
Attached property setter 'Grid.ColumnSpan' has no effect in the current context and can be removed
Redundant namespace alias: CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml#L8
Namespace alias 'p' is not required by code and can be safely removed
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml#L123
Equal value provided by style 'DefaultComboBoxStyle'
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L327
Equal value provided by style 'AcrylicButtonStyle'
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/DisconnectedPage.xaml#L114
Equal value provided by style 'DefaultComboBoxStyle'
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L138
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L138
Possible 'null' assignment to non-nullable entity
Assignment in conditional expression: CollapseLauncher/Classes/Interfaces/Class/GamePropertyBase.cs#L31
Assignment in conditional expression; did you mean to use '==' instead of '='?
Assignment in conditional expression: CollapseLauncher/Classes/FileMigrationProcess/IO.cs#L113
Assignment in conditional expression; did you mean to use '==' instead of '='?
Incorrect indent (around child statement): Hi3Helper.EncTool/Hashes/HexTool.cs#L85
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/GameManagement/GameSettings/BaseClass/ImportExportBase.cs#L70
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Parser/XMFParser/Class/XMFAsset.cs#L104
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/Helper/Image/ImageLoaderHelper.cs#L277
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L261
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L262
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/Helper/Image/ImageLoaderHelper.cs#L265
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L298
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/Genshin/Check.cs#L282
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L260
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Hashes/HexTool.cs#L121
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Hashes/HexTool.cs#L122
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/App.xaml.cs#L63
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L263
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Parser/XMFParser/Class/XMFAsset.cs#L103
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/XAMLs/Theme/CustomControls/CommunityToolkit.Labs/MarkdownTextBlock/DefaultSVGRenderer.cs#L21
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/FileMigrationProcess/IO.cs#L26
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L259
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.Core/Classes/Data/Tools/SevenZipTool/SevenZipExtractor/SevenZipExtractor/SevenZipHandle.cs#L88
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Incorrect indent (around child statement): Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs#L103
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
Bitwise operation on enum is not marked by [Flags] attribute: CollapseLauncher/Classes/ClassesContext.cs#L16
Bitwise operation on enum is not marked by \[Flags\] attribute
Co-variant array conversion: CollapseLauncher/Classes/InstallManagement/BaseClass/GameInstallPackage.cs#L187
Co-variant array conversion from FileStream\[\] to Stream\[\] can cause run-time exception on write operation
Collection content is never queried (non-private accessibility): CollapseLauncher/Classes/Interfaces/Class/CommunityToolsProperty.cs#L18
Content of collection 'OfficialToolsList' is only updated but never used
Collection content is never queried (non-private accessibility): CollapseLauncher/Classes/Interfaces/Class/CommunityToolsProperty.cs#L20
Content of collection 'CommunityToolsList' is only updated but never used
Collection content is never queried (private accessibility): CollapseLauncher/XAMLs/MainApp/Pages/OOBE/OOBEAgreementMenu.xaml.cs#L40
Content of collection 'markdownFileList' is only updated but never used
Conditional access qualifier expression is not null according to nullable reference types' annotations: Hi3Helper.EncTool/Parser/KianaDispatch/KianaDispatch.cs#L66
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: CollapseLauncher/Classes/Helper/LauncherApiLoader/Sophon/LauncherGameNews.cs#L108
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: CollapseLauncher/Classes/Helper/LauncherApiLoader/Sophon/LauncherGameNews.cs#L86
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: CollapseLauncher/Classes/Helper/LauncherApiLoader/Sophon/LauncherGameNews.cs#L131
Conditional access qualifier expression is never null according to nullable reference types' annotations
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/SessionManager.cs#L251
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/Session.cs#L198
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Core/Classes/Data/InvokeProp.cs#L305
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/Session.cs#L198
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/SessionManager.cs#L251
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: Hi3Helper.Http/Class/Session/SessionManager.cs#L251
Conditional access qualifier expression is known to be not null
Use null check pattern instead of a type check succeeding on any not-null value: Hi3Helper.EncTool/Misc/ConverterTool.cs#L307
Use not null pattern instead of a type check succeeding on any not-null value
Use null check pattern instead of a type check succeeding on any not-null value: Hi3Helper.EncTool/Misc/ConverterTool.cs#L309
Use not null pattern instead of a type check succeeding on any not-null value
Empty constructor: CollapseLauncher/XAMLs/MainApp/MainWindow.xaml.cs#L30
Empty constructor is redundant. The compiler generates the same by default.
Empty general catch clause: Hi3Helper.Http/Class/Session/SessionManager.cs#L200
Empty general catch clause suppresses any errors
Empty general catch clause: Hi3Helper.Http/Class/Session/SessionManager.cs#L223
Empty general catch clause suppresses any errors
Underlying type of enum is 'int': Hi3Helper.Http/Class/Event/Enums.cs#L12
'int' is default enum governing type
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L284
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L288
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/TypeExtensions.cs#L55
Code is heuristically unreachable
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L118
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L257
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L191
Possible overflow in unchecked context
Invalid XML documentation comment: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L78
Parameter 'leaveOpen' has no matching param tag in the XML comment for CollapseLauncher.BinaryPatchUtility.Initialize (but other parameters do)
Invalid XML documentation comment: CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs#L293
Parameter 'throwAction' has no matching param tag in the XML comment for CollapseLauncher.Helper.Background.BackgroundMediaUtility.LoadBackground (but other parameters do)
Invalid XML documentation comment: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFBlock.cs#L20
Parameter 'isMeta' has no matching param tag in the XML comment for Hi3Helper.EncTool.Parser.XMFBlock.XMFBlock (but other parameters do)
Invalid XML documentation comment: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFUtility.cs#L24
Parameter 'xmfFS' has no matching param tag in the XML comment for Hi3Helper.EncTool.Parser.AssetMetadata.XMFUtility.GetXMFVersion (but other parameters do)
Invalid XML documentation comment: CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs#L294
Parameter 'actionAfterLoaded' has no matching param tag in the XML comment for CollapseLauncher.Helper.Background.BackgroundMediaUtility.LoadBackground (but other parameters do)
Local variable hides member: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L168
Local variable 'rootCommand' hides field 'RootCommand CollapseLauncher.ArgumentParser.rootCommand'
Local variable hides member: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L252
Local variable 'rootCommand' hides field 'RootCommand CollapseLauncher.ArgumentParser.rootCommand'
Local variable hides member: CollapseLauncher/Classes/Properties/ArgumentParser.cs#L192
Local variable 'rootCommand' hides field 'RootCommand CollapseLauncher.ArgumentParser.rootCommand'
Member initialized value ignored: CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs#L448
Field initializer value ignored during initialization
Member initialized value ignored: Hi3Helper.SharpDiscordRPC/DiscordRPC/IO/ManagedNamedPipeClient.cs#L50
Field initializer value ignored during initialization
Member initialized value ignored: CollapseLauncher/Classes/InstallManagement/GameConversionManagement.cs#L447
Field initializer value ignored during initialization
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L273
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L251
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L237
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Streams/CacheStream/CacheStream.cs#L61
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L230
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L244
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/UABT/UABT/AssetBundle/TextAsset.cs#L35
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/XMFParser/Class/XMFUtility.cs#L30
Return value of method is not used. Fewer bytes can be read than requested
Return value of [MustUseReturnValue] annotated method is not used: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L265
Return value of method is not used. Fewer bytes can be read than requested