Skip to content

Implement IStorageProvider OpenFile/OpenFolder/SaveFile dialogs #331

Implement IStorageProvider OpenFile/OpenFolder/SaveFile dialogs

Implement IStorageProvider OpenFile/OpenFolder/SaveFile dialogs #331

Triggered via pull request November 25, 2024 06:53
Status Failure
Total duration 3m 14s
Artifacts

editorconfig.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 5 warnings, and 10 notices
build
Issues found.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Consolonia.Core/Controls/FileSavePickerViewModel.cs#L28
"[ConditionIsAlwaysTrueOrFalse] Expression is always false" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePickerViewModel.cs(28,21)
build: src/Consolonia.Core/Controls/FileSavePickerViewModel.cs#L29
"[HeuristicUnreachableCode] Code is heuristically unreachable" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePickerViewModel.cs(29,21)
build: src/Consolonia.Core/Controls/FileSavePickerViewModel.cs#L31
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePickerViewModel.cs(31,44)
build: src/Consolonia.Core/Infrastructure/SystemStorageFile.cs#L64
"[CanReplaceCastWithTypeArgument] Cast expression can be replaced with statically typed language construct" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFile.cs(64,37)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L54
"[CanReplaceCastWithTypeArgument] Cast expression can be replaced with statically typed language construct" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(54,37)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L89
"[CanReplaceCastWithTypeArgument] Cast expression can be replaced with statically typed language construct" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(89,41)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L91
"[CanReplaceCastWithTypeArgument] Cast expression can be replaced with statically typed language construct" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(91,37)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L98
"[CanReplaceCastWithTypeArgument] Cast expression can be replaced with statically typed language construct" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(98,37)
build: src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs#L67
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs(67,13)
build: src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs#L74
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs(74,13)
build: src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs#L91
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs(91,13)
build: src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L88
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(88,13)
build: src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs#L37
"[ConvertIfStatementToSwitchStatement] Convert 'if' statement into 'switch' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs(37,13)