Implement IStorageProvider OpenFile/OpenFolder/SaveFile and MessageBox dialogs #351
Annotations
1 error, 10 warnings, and 10 notices
Inspect code
Issues found.
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L1
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(1,1)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L5
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(5,1)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L48
"[UnusedParameter.Local] Parameter 'e' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(48,46)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L51
"[UnusedParameter.Local] Parameter 'e2' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(51,59)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L53
"[UnusedParameter.Local] Parameter 'e2' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(53,60)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L55
"[UnusedParameter.Local] Parameter 'e2' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(55,63)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L57
"[UnusedParameter.Local] Parameter 'e2' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(57,59)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L48
"[UnusedParameter.Local] Parameter 's' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(48,43)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L51
"[UnusedParameter.Local] Parameter 's2' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(51,55)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L53
"[UnusedParameter.Local] Parameter 's2' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(53,56)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L48
"[ArrangeThisQualifier] Qualifier 'this.' is redundant" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(48,13)
|
Inspect code:
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)
|
Inspect code:
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)
|
Inspect code:
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)
|
Inspect code:
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)
|
Inspect code:
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)
|
Inspect code:
src/Consolonia.Core/Controls/MessageBox.axaml.cs#L96
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(96,13)
|
Inspect code:
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)
|
Inspect code:
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)
|
Inspect code:
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)
|
Loading