Skip to content

Fix warnings about "type 'K' cannot be used as type parameter 'TKey' … #766

Fix warnings about "type 'K' cannot be used as type parameter 'TKey' …

Fix warnings about "type 'K' cannot be used as type parameter 'TKey' … #766

Triggered via push January 19, 2025 11:45
Status Success
Total duration 5m 50s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/UglyToad.PdfPig.Fonts/GlyphList.cs#L99
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/UglyToad.PdfPig.Fonts/GlyphList.cs#L99
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/UglyToad.PdfPig.Fonts/GlyphList.cs#L99
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L74
Nullability of reference types in type of parameter 'x' of 'bool FNVByteComparison.Equals(byte[] x, byte[] y)' doesn't match implicitly implemented member 'bool IEqualityComparer<byte[]>.Equals(byte[]? x, byte[]? y)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L74
Nullability of reference types in type of parameter 'y' of 'bool FNVByteComparison.Equals(byte[] x, byte[] y)' doesn't match implicitly implemented member 'bool IEqualityComparer<byte[]>.Equals(byte[]? x, byte[]? y)' (possibly because of nullability attributes).
build: src/UglyToad.PdfPig/Writer/Xmp/XmpWriter.cs#L249
Possible null reference argument for parameter 'other' in 'XDocument.XDocument(XDocument other)'.
build: src/UglyToad.PdfPig/Content/Page.cs#L128
'Page.ExperimentalAccess' is obsolete: 'Use methods and properties directly at Page level.'
build: src/UglyToad.PdfPig/Content/Page.cs#L128
'Page.Experimental' is obsolete: 'Use methods and properties directly at Page level.'
build: src/UglyToad.PdfPig/Content/OptionalContentGroupElement.cs#L158
Possible null reference argument for parameter 'values' in 'string string.Join(string? separator, IEnumerable<string?> values)'.
build: src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L74
Nullability of reference types in type of parameter 'x' of 'bool FNVByteComparison.Equals(byte[] x, byte[] y)' doesn't match implicitly implemented member 'bool IEqualityComparer<byte[]>.Equals(byte[]? x, byte[]? y)' (possibly because of nullability attributes).