Add Blazor support to Consolonia. #395
Annotations
1 error, 11 warnings, and 10 notices
build
Issues found.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
src/Example.Blazor.Components/MainPage.razor#L24
"[InconsistentNaming] Name 'counter' does not match rule 'Instance fields (private)'. Suggested name is '_counter'." on /home/runner/work/Consolonia/Consolonia/src/Example.Blazor.Components/MainPage.razor(24,9)
|
build:
src/Example.Blazor.Components/MainPage.razor#L3
"[InconsistentNaming] Name 'lifetime' does not match rule 'Properties'. Suggested name is 'Lifetime'." on /home/runner/work/Consolonia/Consolonia/src/Example.Blazor.Components/MainPage.razor(3,49)
|
build:
src/Example.Blazor.Components/MainPage.razor#L2
"[InconsistentNaming] Name 'navigation' does not match rule 'Properties'. Suggested name is 'Navigation'." on /home/runner/work/Consolonia/Consolonia/src/Example.Blazor.Components/MainPage.razor(2,21)
|
build:
src/Example.Blazor.Components/SubPage.razor#L5
"[InconsistentNaming] Name 'navigation' does not match rule 'Properties'. Suggested name is 'Navigation'." on /home/runner/work/Consolonia/Consolonia/src/Example.Blazor.Components/SubPage.razor(5,21)
|
build:
src/Example.Blazor.Components/MainPage.razor#L25
"[InconsistentNaming] Name 'showCounter' does not match rule 'Instance fields (private)'. Suggested name is '_showCounter'." on /home/runner/work/Consolonia/Consolonia/src/Example.Blazor.Components/MainPage.razor(25,10)
|
build:
src/Consolonia.Blazor/BuilderExtensions.cs#L27
"[PossibleNullReferenceException] Possible 'System.NullReferenceException'" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Blazor/BuilderExtensions.cs(27,45)
|
build:
src/Example.Blazor.Components/MainPage.razor#L24
"[RedundantDefaultMemberInitializer] Initializing field by default value is redundant" on /home/runner/work/Consolonia/Consolonia/src/Example.Blazor.Components/MainPage.razor(24,17)
|
build:
src/Consolonia.Blazor/ConsoloniaBlazorApplication.cs#L7
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Blazor/ConsoloniaBlazorApplication.cs(7,1)
|
build:
src/Consolonia.Core/Infrastructure/ConsoloniaApplication.cs#L2
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaApplication.cs(2,1)
|
build:
src/Consolonia.Core/Infrastructure/ConsoloniaApplication.cs#L3
"[RedundantUsingDirective] Using directive is not required by the code and can be safely removed" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/ConsoloniaApplication.cs(3,1)
|
build:
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)
|
build:
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)
|
build:
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)
|
build:
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)
|
build:
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)
|
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)
|