Skip to content

SadConsole improvements and updated documentation #446

SadConsole improvements and updated documentation

SadConsole improvements and updated documentation #446

Triggered via pull request September 1, 2024 12:25
Status Success
Total duration 11m 6s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L180
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L248
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L128
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L186
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Systems.Commodore64/Video/Vic2SpriteManager.cs#L132
Potential stack overflow. Move the stackalloc out of the loop. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014)
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Impl.Skia/Generic/Video/SKPaintMaps.cs#L37
'SKPaint.TextSize' is obsolete: 'Use SKFont.Size instead.'
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Impl.Skia/Generic/Video/SKPaintMaps.cs#L38
'SKPaint.Typeface' is obsolete: 'Use SKFont.Typeface instead.'
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Impl.Skia/Generic/Video/SKPaintMaps.cs#L41
'SKPaint.TextAlign' is obsolete: 'Use SKTextAlign method overloads instead.'
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Impl.Skia/Generic/Video/GenericComputerSkiaRenderer.cs#L124
'SKCanvas.DrawText(string, float, float, SKPaint)' is obsolete: 'Use DrawText(string text, float x, float y, SKTextAlign textAlign, SKFont font, SKPaint paint) instead.'
Analyze (csharp): src/libraries/Highbyte.DotNet6502.Impl.Skia/Commodore64/Video/v2/C64SkiaRenderer2b.cs#L212
Non-nullable field '_skiaPixelArrayBitmap_BackgroundAndBorder' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.