Skip to content

Upgrade Avalonia to 11.2.1 #384

Upgrade Avalonia to 11.2.1

Upgrade Avalonia to 11.2.1 #384

Triggered via pull request November 30, 2024 21:12
Status Failure
Total duration 2m 50s
Artifacts

editorconfig.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 10 notices
build
Issues found.
build: src/Consolonia.Core/Infrastructure/ConsoloniaPlatform.cs#L75
"[AssignNullToNotNullAttribute] Possible 'null' assignment to non-nullable entity" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaPlatform.cs(75,78)
build: src/Consolonia.Core/Drawing/DrawingContextImpl.cs#L47
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'RenderOptions.get' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/DrawingContextImpl.cs(47,46)
build: src/Consolonia.Core/Drawing/ConsoloniaPlatformRenderInterfaceContext.cs#L31
"[AutoPropertyCanBeMadeGetOnly.Local] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/ConsoloniaPlatformRenderInterfaceContext.cs(31,72)
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/ArrowsAndKeyboardNavigationHandler.cs#L19
"[ConvertConstructorToMemberInitializers] Convert constructor into member initializers" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ArrowsAndKeyboardNavigationHandler.cs(19,16)
build: src/Consolonia.Core/Controls/MessageBox.axaml.cs#L106
"[ConvertIfStatementToReturnStatement] Convert into 'return' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/MessageBox.axaml.cs(106,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)