Updating project to net8, tidying up compile warnings for nullability… #40
Annotations
10 warnings
|
build:
Source/HtmlRenderer.SkiaSharp/Adapters/GraphicsAdapter.cs#L142
'SKPaint.FilterQuality' is obsolete: 'Use SKSamplingOptions instead.'
|
|
build:
Source/HtmlRenderer.SkiaSharp/Adapters/ImageAdapter.cs#L56
Possible null reference return.
|
|
build:
Source/Demos/HtmlRenderer.Demo.Console/Program.cs#L20
Dereference of a possibly null reference.
|
|
build:
Source/HtmlRenderer.PdfSharp/Adapters/PdfSharpAdapter.cs#L51
This call site is reachable on all platforms. 'FontFamily.Name' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
|
build:
Source/HtmlRenderer.PdfSharp/Adapters/PdfSharpAdapter.cs#L49
This call site is reachable on all platforms. 'FontCollection.Families' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
|
build:
Source/HtmlRenderer.PdfSharp/Adapters/PdfSharpAdapter.cs#L47
This call site is reachable on all platforms. 'InstalledFontCollection' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
|
build:
Source/HtmlRenderer.SkiaSharp/Adapters/GraphicsAdapter.cs#L42
The field 'GraphicsAdapter._stringFormat' is assigned but its value is never used
|
|
build:
Source/HtmlRenderer.SkiaSharp/Adapters/GraphicsAdapter.cs#L142
'SKFilterQuality' is obsolete: 'Use SKSamplingOptions instead.'
|
|
build:
Source/HtmlRenderer.SkiaSharp/Adapters/GraphicsAdapter.cs#L142
'SKPaint.FilterQuality' is obsolete: 'Use SKSamplingOptions instead.'
|
|
build:
Source/HtmlRenderer.SkiaSharp/Adapters/ImageAdapter.cs#L56
Possible null reference return.
|