fix caret cursor #506
Annotations
1 error, 3 warnings, and 10 notices
Inspect code
Issues found.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Inspect code:
src/Consolonia.Core/Infrastructure/InputLessDefaultNetConsole.cs#L41
"[RedundantCheckBeforeAssignment] Redundant check before assignment" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/InputLessDefaultNetConsole.cs(41,21)
|
Inspect code:
src/Consolonia.Core/Drawing/RenderTarget.cs#L14
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/RenderTarget.cs(14,1)
|
Inspect code:
src/Consolonia.Core/Drawing/CursorStyle.cs#L10
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/CursorStyle.cs(10,24)
|
Inspect code:
src/Consolonia.Core/Drawing/MoveConsoleCaretToPositionBrush.cs#L16
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/MoveConsoleCaretToPositionBrush.cs(16,41)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs#L25
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs(25,44)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs#L85
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs(85,36)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/SimpleSymbol.cs#L46
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/SimpleSymbol.cs(46,49)
|
Inspect code:
src/Consolonia.Core/Dummy/DummyConsole.cs#L27
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Dummy/DummyConsole.cs(27,44)
|
Inspect code:
src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs#L72
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs(72,41)
|
Inspect code:
src/Experimental/Consolonia.Designer/ConsolePreview.cs#L256
"[CA1859] Change return type of method 'RenderPixelBuffer' from 'Avalonia.Controls.Control' to 'Avalonia.Controls.StackPanel' for improved performance" on /home/runner/work/Consolonia/Consolonia/src/Experimental/Consolonia.Designer/ConsolePreview.cs(256,25)
|
Inspect code:
src/Experimental/Consolonia.Designer/ConsolePreview.cs#L342
"[CA1865] Use 'string.IndexOf(char)' instead of 'string.IndexOf(string)' when you have a string with a single char" on /home/runner/work/Consolonia/Consolonia/src/Experimental/Consolonia.Designer/ConsolePreview.cs(342,40)
|
Inspect code:
src/Experimental/Consolonia.Designer/ConsolePreview.cs#L348
"[CA1865] Use 'string.IndexOf(char)' instead of 'string.IndexOf(string)' when you have a string with a single char" on /home/runner/work/Consolonia/Consolonia/src/Experimental/Consolonia.Designer/ConsolePreview.cs(348,40)
|
Loading