Skip to content

Qodana

Qodana #72

Triggered via schedule April 17, 2024 00:43
Status Success
Total duration 7m 15s
Artifacts

qodana-scan.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

1000 warnings
Access to disposed captured variable: CollapseLauncher/Classes/Interfaces/Class/ProgressBase.cs#L750
Captured variable is disposed in the outer scope
Access to a static member of a type via a derived type: CollapseLauncher/XAMLs/Updater/Classes/Updater.cs#L199
Access to a static member of a type via a derived type
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L136
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L735
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L136
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.Core/Classes/Logger/LoggerBase.cs#L46
Possible 'null' assignment to non-nullable entity
Assignment in conditional expression: CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.cs#L1691
Assignment in conditional expression; did you mean to use '==' instead of '='?
Assignment in conditional expression: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L32
Assignment in conditional expression; did you mean to use '==' instead of '='?
Assignment in conditional expression: CollapseLauncher/Classes/Interfaces/Class/GamePropertyBase.cs#L31
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/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.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/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): 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): 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/Classes/RepairManagement/Genshin/Check.cs#L269
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#L297
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/GameManagement/GameSettings/BaseClass/ImportExportBase.cs#L69
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
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L258
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
A possible null value may not be used for a type marked with [NotNull] or [DisallowNull].: InnoSetupHelper/InnoSetupLogParser/Parser.cs#L372
A possible null value cannot be used for a type marked with \[NotNull\] or \[DisallowNull\]
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/Parser.cs#L111
Non-nullable field 'Records' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/RegistryKeyRecord.cs#L15
Non-nullable field 'path' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/DeleteIniEntryRecord.cs#L7
Non-nullable field 'entry' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/RegistryValueRecord.cs#L7
Non-nullable field 'value' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/DeleteIniSectionRecord.cs#L11
Non-nullable fields 'filename', 'section' are uninitialized. Consider declaring the fields as nullable.
Check dependency licenses: CollapseLauncher/CollapseLauncher.csproj#L1
'FFmpegInteropX' ('0.0.0-0') licenses cannot be recognized
Co-variant array conversion: CollapseLauncher/Classes/InstallManagement/BaseClass/GameInstallPackage.cs#L174
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#L20
Content of collection 'CommunityToolsList' is only updated but never used
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 (private accessibility): CollapseLauncher/XAMLs/MainApp/Pages/OOBE/OOBEAgreementMenu.xaml.cs#L40
Content of collection 'markdownFileList' is only updated but never used
Expression is always 'true' or 'false' according to nullable reference types' annotations: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L1907
Expression is always false according to nullable reference types' annotations
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/GamePropertyVault.cs#L80
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/GamePropertyVault.cs#L81
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: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/CompiledCodeRecord.cs#L54
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#L269
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#L269
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#L269
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: CollapseLauncher/Classes/GamePropertyVault.cs#L158
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: CollapseLauncher/Classes/GamePropertyVault.cs#L157
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#L283
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#L281
Use not null pattern instead of a type check succeeding on any not-null value
Empty constructor: CollapseLauncher/XAMLs/MainApp/MainWindow.xaml.cs#L22
Empty constructor is redundant. The compiler generates the same by default.
Empty general catch clause: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L116
Empty general catch clause suppresses any errors
Empty general catch clause: Hi3Helper.Http/Class/Session/SessionManager.cs#L241
Empty general catch clause suppresses any errors
Empty general catch clause: Hi3Helper.Http/Class/Session/SessionManager.cs#L218
Empty general catch clause suppresses any errors
Empty general catch clause: CollapseLauncher/Program.cs#L246
Empty general catch clause suppresses any errors
Empty general catch clause: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L780
Empty general catch clause suppresses any errors
Empty general catch clause: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L1607
Empty general catch clause suppresses any errors
Empty general catch clause: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L326
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#L262
Code is heuristically unreachable
Heuristically unreachable code: Hi3Helper.EncTool/Misc/ConverterTool.cs#L258
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#L189
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L116
Possible overflow in unchecked context
Possible overflow in unchecked context: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L255
Possible overflow in unchecked context
Invalid XML documentation comment: CollapseLauncher/Program.cs#L177
XML comment is not placed on a valid language element
Invalid XML documentation comment: Hi3Helper.Core/Classes/Logger/ILog.cs#L23
Parameter 'line' has no matching param tag in the XML comment for Hi3Helper.ILog.LogWriteLine (but other parameters do)
Invalid XML documentation comment: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L77
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#L295
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.Core/Classes/Logger/ILog.cs#L19
Ambiguous reference 'LogWriteLine'
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)
Local variable hides member: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L839
Local variable 'Margin' hides property 'Thickness Microsoft.UI.Xaml.FrameworkElement.Margin'
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/XAMLs/MainApp/MainPage.xaml.cs#L1590
Local variable 'Tag' hides property 'object Microsoft.UI.Xaml.FrameworkElement.Tag'
Local variable hides member: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L298
Local variable 'index' hides field 'int LibISULR.BufferTools.index'
Local variable hides member: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L24
Local variable 'dataPtr' hides field 'byte\* LibISULR.BufferTools.dataPtr'
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#L249
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#L235
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#L242
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#L256
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#L228
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#L263
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#L271
Return value of method is not used. Fewer bytes can be read than requested
Non-accessed field: CollapseLauncher/Classes/EventsManagement/EventsHandler.cs#L23
Field 'UpdateChannelName' 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 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
Non-accessed local variable: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L108
Local variable '_0041' is only assigned but its value is never used
Cannot resolve symbol in text argument: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L104
Cannot resolve symbol 'Input Stream cannot be null!'
Cannot resolve symbol in text argument: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L596
Cannot resolve symbol 'Argument can't be empty!'
Cannot resolve symbol in text argument: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L112
Cannot resolve symbol 'Output Stream cannot be null!'
Cannot resolve symbol in text argument: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L108
Cannot resolve symbol 'Patch cannot be null!'
Cannot resolve symbol in text argument: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs#L587
Cannot resolve symbol 'Properties for OpenExternalApp can't be empty!'
Cannot resolve symbol in text argument: Hi3Helper.EncTool/Streams/ChunkStream.cs#L30
Cannot resolve symbol 'Offset is out of stream size range!'
Possible unassigned object created by 'new' expression: CollapseLauncher/Program.cs#L136
Possible unassigned object created by 'new' expression
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#L145
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: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L798
Parameter 'Content' hides property 'UIElement Microsoft.UI.Xaml.Controls.UserControl.Content'
Parameter hides member: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L379
Parameter 'data' hides field 'ReadOnlySpan LibISULR.BufferTools.data'
Parameter hides member: Hi3Helper.Http/Class/Event/DownloadEvent.cs#L16
Parameter 'SizeToBeDownloaded' hides property 'long Hi3Helper.Http.DownloadEvent.SizeToBeDownloaded'
Parameter hides member: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L386
Parameter 'index' hides field 'int LibISULR.BufferTools.index'
Parameter hides member: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L69
Parameter 'entryID' hides field 'string CollapseLauncher.ShortcutUtils.SteamShortcut.entryID'
Parameter hides member: Hi3Helper.Http/Class/Session/Session.cs#L315
Parameter 'OffsetStart' hides field 'long? Hi3Helper.Http.Session.OffsetStart'
Parameter hides member: Hi3Helper.Http/Class/Event/DownloadEvent.cs#L17
Parameter 'Read' hides property 'long Hi3Helper.Http.DownloadEvent.Read'
Parameter hides member: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L379
Parameter 'index' hides field 'int LibISULR.BufferTools.index'
Parameter hides member: Hi3Helper.Http/HttpMulti.cs#L8
Parameter 'ConnectionSessions' hides field 'byte Hi3Helper.Http.Http.ConnectionSessions'
Parameter hides member: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L386
Parameter 'data' hides field 'ReadOnlySpan LibISULR.BufferTools.data'
Parameter hides member: Hi3Helper.EncTool/UABT/LZ4/LZ4DecoderStream.cs#L93
Parameter 'input' hides field 'Stream Hi3Helper.UABT.LZ4.LZ4DecoderStream.input'
Parameter hides member: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L408
Parameter 'Read' hides property 'long CollapseLauncher.BinaryPatchProgress.Read'
Parameter hides member: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L408
Parameter 'SizePatched' hides property 'long CollapseLauncher.BinaryPatchProgress.SizePatched'
Parameter hides member: Hi3Helper.EncTool/UABT/LZ4/LZ4DecoderStream.cs#L93
Parameter 'inputLength' hides field 'long Hi3Helper.UABT.LZ4.LZ4DecoderStream.inputLength'
Parameter hides member: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L408
Parameter 'SizeToBePatched' hides property 'long CollapseLauncher.BinaryPatchProgress.SizeToBePatched'
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#L315
Parameter 'OffsetEnd' hides field 'long? Hi3Helper.Http.Session.OffsetEnd'
The source expression always matches the provided pattern: Hi3Helper.EncTool/Misc/ConverterTool.cs#L279
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': CollapseLauncher/Program.cs#L197
Possible 'System.NullReferenceException'
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 'System.NullReferenceException': CollapseLauncher/Program.cs#L198
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.
Private field can be converted into local variable: CollapseLauncher/XAMLs/Updater/Classes/Updater.cs#L24
The field is always assigned before being used and can be converted into a local variable
Private field can be converted into local variable: CollapseLauncher/XAMLs/Updater/Classes/Updater.cs#L20
The field is always assigned before being used and can be converted into a local variable
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.Http/Class/Session/SessionManager.cs#L77
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/ShortcutCreator/SteamShortcut.cs#L215
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: CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs#L149
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/Updater/UpdaterWindow.xaml.cs#L37
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L264
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L678
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/XAMLs/Updater/UpdaterWindow.xaml.cs#L54
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: Hi3Helper.EncTool/WindowTool/ResizableWindowHook/ResizableWindowHook.cs#L17
Value assigned is not used in any execution path
Assignment is not used: CollapseLauncher/Classes/RepairManagement/StarRail/Fetch.cs#L146
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/SessionManager.cs#L114
Value assigned is not used in any execution path
Redundant 'Attribute' suffix: CollapseLauncher/Program.cs#L31
Redundant 'Attribute' suffix
Redundant 'IEnumerable.Cast<T>' or 'IEnumerable.OfType<T>' call: CollapseLauncher/App.xaml.cs#L105
Redundant 'IEnumerable.OfType' call. Consider comparing with 'null' instead.
Redundant 'IEnumerable.Cast<T>' or 'IEnumerable.OfType<T>' call: CollapseLauncher/App.xaml.cs#L112
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#L9
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 control flow jump statement: CollapseLauncher/Program.cs#L140
Redundant control flow jump statement
Redundant control flow jump statement: Hi3Helper.Http/Class/TaskExtensions.cs#L33
Redundant control flow jump statement
Redundant control flow jump statement: CollapseLauncher/Program.cs#L148
Redundant control flow jump statement
Redundant lambda expression parameter type specification: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L450
Redundant lambda parameter explicit type specification
Redundant nullable warning suppression expression: CollapseLauncher/Classes/RepairManagement/Honkai/Fetch.cs#L231
The nullable warning suppression expression is redundant
Redundant type declaration body: Hi3Helper.EncTool/Parser/Senadina/JsonContext.cs#L7
Redundant empty class declaration body
Actual shift count equals zero: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L112
Actual shift count equals zero. Left operand will remain unchanged.
Actual shift count equals zero: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L98
Actual shift count equals zero. Left operand will remain unchanged.
Actual shift count equals zero: CollapseLauncher/Classes/ShortcutCreator/SteamShortcut.cs#L105
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#L385
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
Auto-property accessor is never used (private accessibility): CollapseLauncher/XAMLs/Updater/Classes/Updater.cs#L228
Auto-property accessor 'TotalSizeToDownload.set' is never used
Unused local variable: CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L265
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: Hi3Helper.EncTool/Misc/ConverterTool.cs#L119
Local variable 'inputSignedPtr' is never used
Unused local variable: Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L167
Local variable 'ptrToPckType' is never used
Unused local variable: CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.cs#L690
Local variable 'isShowBackButton' is never used
Unused local variable: Hi3Helper.SharpDiscordRPC/DiscordRPC/RichPresence.cs#L794
Local variable 'uriResult' 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#L265
Initialize object properties inside the 'using' statement to ensure that the object is disposed if an exception is thrown during initialization
Do not use object initializer for 'using' variable: CollapseLauncher/Classes/RegionManagement/FallbackCDNUtil.cs#L365
Initialize object properties inside the 'using' statement to ensure that the object is disposed if an exception is thrown during initialization
Grid element column/row index is out of grid definition range: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml#L497
Row index 0 with span 2 is out of grid row definitions range (0-0)
Grid element column/row index is out of grid definition range: CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml#L483
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/Pages/HomePage.xaml#L499
Column index 0 with span 2 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#L445
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/MainPage.xaml#L102
Column index 0 with span 7 is out of grid column definitions range (0-0)
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L373
Attached property setter 'Grid.ColumnSpan' has no effect in the current context and can be removed
Remove redundant attached property setter: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L372
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/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/Pages/OOBE/OOBEStartUpMenu.xaml#L110
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/SettingsPage.xaml#L539
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/RepairPage.xaml#L126
Attached property setter 'Grid.Row' has no effect in the current context and can be removed
Redundant resource: CollapseLauncher/XAMLs/MainApp/Pages/UpdatePage.xaml#L137
Resource 'BooleanToVisibilityConverter' is never used
Property value is equal to style-provided: CollapseLauncher/XAMLs/MainApp/MainPage.xaml#L321
Equal value provided by style 'AcrylicButtonStyle'
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Access to disposed captured variable: CollapseLauncher/Classes/Interfaces/Class/ProgressBase.cs#L750
Captured variable is disposed in the outer scope
Access to a static member of a type via a derived type: CollapseLauncher/XAMLs/Updater/Classes/Updater.cs#L199
Access to a static member of a type via a derived type
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L136
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L735
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.EncTool/Hashes/mhyEncTool.cs#L136
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: Hi3Helper.Core/Classes/Logger/LoggerBase.cs#L46
Possible 'null' assignment to non-nullable entity
Assignment in conditional expression: CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.cs#L1691
Assignment in conditional expression; did you mean to use '==' instead of '='?
Assignment in conditional expression: InnoSetupHelper/InnoSetupLogParser/LibISULR/Helpers.cs#L32
Assignment in conditional expression; did you mean to use '==' instead of '='?
Assignment in conditional expression: CollapseLauncher/Classes/Interfaces/Class/GamePropertyBase.cs#L31
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/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.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/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): 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): 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/Classes/RepairManagement/Genshin/Check.cs#L269
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#L297
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/GameManagement/GameSettings/BaseClass/ImportExportBase.cs#L69
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
Incorrect indent (around child statement): CollapseLauncher/Classes/RepairManagement/BSDiff.cs#L258
Line is not indented relative to the previous line around child statement, expected indent 4 spaces
A possible null value may not be used for a type marked with [NotNull] or [DisallowNull].: InnoSetupHelper/InnoSetupLogParser/Parser.cs#L372
A possible null value cannot be used for a type marked with \[NotNull\] or \[DisallowNull\]
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/Parser.cs#L111
Non-nullable field 'Records' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/RegistryKeyRecord.cs#L15
Non-nullable field 'path' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/DeleteIniEntryRecord.cs#L7
Non-nullable field 'entry' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/RegistryValueRecord.cs#L7
Non-nullable field 'value' is uninitialized. Consider declaring the field as nullable.
Non-nullable member is uninitialized.: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/DeleteIniSectionRecord.cs#L11
Non-nullable fields 'filename', 'section' are uninitialized. Consider declaring the fields as nullable.
Check dependency licenses: CollapseLauncher/CollapseLauncher.csproj#L1
'FFmpegInteropX' ('0.0.0-0') licenses cannot be recognized
Co-variant array conversion: CollapseLauncher/Classes/InstallManagement/BaseClass/GameInstallPackage.cs#L174
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#L20
Content of collection 'CommunityToolsList' is only updated but never used
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 (private accessibility): CollapseLauncher/XAMLs/MainApp/Pages/OOBE/OOBEAgreementMenu.xaml.cs#L40
Content of collection 'markdownFileList' is only updated but never used
Expression is always 'true' or 'false' according to nullable reference types' annotations: CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs#L1907
Expression is always false according to nullable reference types' annotations
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/GamePropertyVault.cs#L80
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/GamePropertyVault.cs#L81
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: InnoSetupHelper/InnoSetupLogParser/LibISULR/Records/CompiledCodeRecord.cs#L54
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#L269
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#L269
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#L269
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: CollapseLauncher/Classes/GamePropertyVault.cs#L158
Conditional access qualifier expression is known to be not null
Conditional access qualifier expression is known to be null or not null: CollapseLauncher/Classes/GamePropertyVault.cs#L157
Conditional access qualifier expression is known to be not null