Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs #312
Annotations
1 error, 12 warnings, and 10 notices
Inspect code
Issues found.
|
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/
|
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/
|
Inspect code:
src/Consolonia.Core/Controls/PickerViewModelBase.cs#L19
"[AssignNullToNotNullAttribute] Possible 'null' assignment to non-nullable entity" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/PickerViewModelBase.cs(19,29)
|
Inspect code:
src/Tests/Consolonia.Core.Tests/StorageTests.cs#L45
"[PossibleInvalidOperationException] Possible 'System.InvalidOperationException'" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/StorageTests.cs(45,60)
|
Inspect code:
src/Tests/Consolonia.Core.Tests/StorageTests.cs#L59
"[PossibleInvalidOperationException] Possible 'System.InvalidOperationException'" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/StorageTests.cs(59,60)
|
Inspect code:
src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs#L32
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs(32,17)
|
Inspect code:
src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs#L38
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs(38,41)
|
Inspect code:
src/Consolonia.Core/Controls/FileSavePicker.axaml.cs#L26
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePicker.axaml.cs(26,50)
|
Inspect code:
src/Consolonia.Core/Controls/FileSavePicker.axaml.cs#L47
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePicker.axaml.cs(47,30)
|
Inspect code:
src/Consolonia.Core/Controls/FileSavePickerViewModel.cs#L32
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileSavePickerViewModel.cs(32,41)
|
Inspect code:
src/Consolonia.Core/Controls/FolderPicker.axaml.cs#L30
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPicker.axaml.cs(30,52)
|
Inspect code:
src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs#L28
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaStorageProvider.cs(28,31)
|
Inspect code:
src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs#L25
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPickerViewModel.cs(25,73)
|
Inspect code:
src/Consolonia.Core/Controls/FolderPickerViewModel.cs#L17
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPickerViewModel.cs(17,77)
|
Inspect code:
src/Consolonia.Core/Controls/PickerViewModelBase.cs#L35
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/PickerViewModelBase.cs(35,65)
|
Inspect code:
src/Consolonia.Core/Infrastructure/SystemStorageFile.cs#L32
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFile.cs(32,32)
|
Inspect code:
src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L34
"[ArrangeObjectCreationWhenTypeEvident] Redundant type specification" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(34,32)
|
Inspect code:
src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs#L58
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs(58,21)
|
Inspect code:
src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs#L59
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FileOpenPicker.axaml.cs(59,21)
|
Inspect code:
src/Consolonia.Core/Controls/FolderPicker.axaml.cs#L58
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPicker.axaml.cs(58,21)
|
Inspect code:
src/Consolonia.Core/Controls/FolderPicker.axaml.cs#L59
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/FolderPicker.axaml.cs(59,21)
|
Inspect code:
src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs#L32
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/SystemStorageFolder.cs(32,31)
|
Loading