Switch to ISingleViewApplicationLifetime #714
Annotations
1 error, 11 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/ConsoloniaLifetime.cs#L160
"[ConditionIsAlwaysTrueOrFalse] Expression is always true" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(160,21)
|
Inspect code:
src/Consolonia.Core/ApplicationStartup.cs#L122
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always true according to nullable reference types' annotations" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ApplicationStartup.cs(122,25)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L86
"[ConstantConditionalAccessQualifier] Conditional access qualifier expression is known to be not null" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(86,20)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L153
"[ConstantConditionalAccessQualifier] Conditional access qualifier expression is known to be not null" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(153,21)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L21
"[CSharpWarnings::CS8632] The annotation for nullable reference types should only be used in code within a '#nullable' annotations context" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(21,40)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L76
"[InheritdocInvalidUsage] Usage of <inheritdoc /> is invalid: No base candidate to inherit from" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(76,13)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L93
"[UnusedParameter.Local] Parameter 'args' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(93,41)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L128
"[UnusedParameter.Local] Parameter 'isProgrammatic' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(128,18)
|
Inspect code:
src/Consolonia.Core/ConsoloniaLifetime.cs#L93
"[UnusedParameter.Local] Parameter 'sender' is never used" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ConsoloniaLifetime.cs(93,33)
|
Inspect code:
src/Consolonia.Core/ApplicationStartup.cs#L30
"[VariableCanBeNotNullable] 'lifetime' can be declared as non-nullable" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/ApplicationStartup.cs(30,31)
|
Inspect code:
src/Consolonia.Core/Controls/LineStyles.cs#L38
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(38,38)
|
Inspect code:
src/Consolonia.Core/Controls/LineStyles.cs#L39
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(39,37)
|
Inspect code:
src/Consolonia.Core/Controls/LineStyles.cs#L40
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(40,39)
|
Inspect code:
src/Consolonia.Core/Controls/LineStyles.cs#L41
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(41,40)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs#L26
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs(26,44)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/EgaConsoleColor/EgaColor.cs#L30
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/EgaConsoleColor/EgaColor.cs(30,42)
|
Inspect code:
src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs#L86
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs(86,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/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs#L71
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs(71,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)
|
Loading