Skip to content

Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs #341

Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs

Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs #341

Triggered via pull request November 26, 2024 20:40
Status Failure
Total duration 4m 12s
Artifacts

editorconfig.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 10 notices
build
Issues found.
build: src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs#L3
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs(3,1)
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/Controls/MessageBox.axaml.cs#L93
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(93,13)
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#L92
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs(92,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)