Skip to content

XAML and .cs CodeQA #1527

XAML and .cs CodeQA

XAML and .cs CodeQA #1527

Triggered via push January 27, 2025 17:17
Status Success
Total duration 8m 28s
Artifacts 3

build.yml

on: push
Matrix: build-nativeaot
Matrix: build
notify-discord
3s
notify-discord
Fit to window
Zoom out
Zoom in

Annotations

142 warnings
build (Debug, x64, net9.0-windows10.0.22621.0): Hi3Helper.TaskScheduler/Program.cs#L157
Dereference of a possibly null reference.
build (Debug, x64, net9.0-windows10.0.22621.0): Hi3Helper.Core/Classes/Shared/Region/LauncherConfig.cs#L332
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L732
Using member 'Microsoft.Xaml.Interactivity.ChangePropertyAction.ChangePropertyAction()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This action is not trim-safe.
build (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L730
Using member 'Microsoft.Xaml.Interactivity.DataTriggerBehavior.DataTriggerBehavior()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This behavior is not trim-safe.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): Hi3Helper.Core/Classes/Shared/Region/LauncherConfig.cs#L332
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L730
Using member 'Microsoft.Xaml.Interactivity.DataTriggerBehavior.DataTriggerBehavior()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This behavior is not trim-safe.
build-nativeaot (Debug, x64, net9.0-windows10.0.22621.0): CollapseLauncher/obj/x64/Debug/net9.0-windows10.0.22621.0/win-x64/XamlTypeInfo.g.cs#L732
Using member 'Microsoft.Xaml.Interactivity.ChangePropertyAction.ChangePropertyAction()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This action is not trim-safe.
notify-discord
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Collection content is never queried (non-private accessibility): Hi3Helper.EncTool/Parser/XMFParser/Class/XMFBlock.cs#L149
Content of collection 'UniqueID' is only updated but never used
Collection content is never queried (non-private accessibility): Hi3Helper.Win32/ShellLinkCOM/Win32FindDataW.cs#L28
Content of collection 'cAlternateFileName' is only updated but never used
Collection content is never queried (non-private accessibility): Hi3Helper.Win32/ShellLinkCOM/Win32FindDataW.cs#L22
Content of collection 'cFileName' is only updated but never used
Collection content is never queried (non-private accessibility): InnoSetupHelper/InnoSetupLogParser/Parser.cs#L29
Content of collection 'ReservedHeaderBytes' is only updated but never used
Member initialized value ignored: Hi3Helper.SharpDiscordRPC/DiscordRPC/IO/ManagedNamedPipeClient.cs#L50
Field initializer value ignored during initialization
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.SharpDiscordRPC/DiscordRPC/Registry/UriScheme.cs#L51
Value assigned is not used in any execution path
Redundant using directive: H.NotifyIcon/src/libs/H.NotifyIcon/EfficiencyMode/EfficiencyModeUtilities.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: ImageEx/ImageEx/ImageEx.cs#L5
Using directive is not required by the code and can be safely removed
Struct lacks 'IEquatable' implementation (non-private accessibility): Hi3Helper.Core/Data/IniValue.cs#L11
Implement 'IEquatable' interface to avoid boxing when using struct equality in a generic context
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L59
Auto-property accessor 'FileSizeLowBitrateCN.get' is never used
Auto-property accessor is never used (non-private accessibility): ImageEx/ImageEx/ImageExFailedEventArgs.cs#L37
Auto-property accessor 'ErrorMessage.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L50
Auto-property accessor 'CgPathLowBitrateCN.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.Http/Legacy/Session/Session.cs#L370
Auto-property accessor 'SessionRetryAttempt.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L61
Auto-property accessor 'FileSizeLowBitrateJP.get' is never used
Auto-property accessor is never used (non-private accessibility): SevenZipExtractor/SevenZipExtractor/Entry.cs#L58
Auto-property accessor 'LastAccessTime.get' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.Win32/ToastCOM/Notification/ToastAction.cs#L16
Auto-property accessor 'AfterActivationBehaviour.set' is never used
Auto-property accessor is never used (non-private accessibility): Hi3Helper.EncTool/Parser/CacheParser/CGMetadata.cs#L52
Auto-property accessor 'CgPathLowBitrateJP.get' is never used
Unused local variable: Hi3Helper.SharpDiscordRPC/DiscordRPC/RichPresence.cs#L802
Local variable 'uriResult' is never used
Path error: ImageEx/ImageEx/Themes/Generic.xaml#L4
Path 'D:\\a\\Collapse\\Collapse\\ImageEx\\ImageEx\\ImageEx' is not found
Path error: ImageEx/ImageEx/Themes/Generic.xaml#L4
Path 'D:\\a\\Collapse\\Collapse\\ImageEx\\ImageEx\\ImageEx\\ImageEx.xaml' is not found

Artifacts

Produced during runtime
Name Size
aot-experimental-symbols_collapse_x64-Debug_net9.0-windows10.0.22621.0_5f2495bb2fac167ac2bbd3a808071f0b22fb251b
60.3 MB
aot-experimental_collapse_x64-Debug_net9.0-windows10.0.22621.0_5f2495bb2fac167ac2bbd3a808071f0b22fb251b
63.1 MB
collapse_x64-Debug_net9.0-windows10.0.22621.0_5f2495bb2fac167ac2bbd3a808071f0b22fb251b
79.1 MB