Skip to content

Improve Code Quality (#831) #73

Improve Code Quality (#831)

Improve Code Quality (#831) #73

Triggered via push May 6, 2024 06:40
Status Success
Total duration 7m 59s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

24 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v2, microsoft/setup-msbuild@v1.0.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: microsoft/setup-msbuild@v1.0.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build: src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L19
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L10
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
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/OptionalContentGroupElement.cs#L154
Possible null reference argument for parameter 'values' in 'string string.Join(string? separator, IEnumerable<string?> values)'.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L10
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L56
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig.Fonts/InvalidFontFormatException.cs#L32
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L19
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
build
.NET Core 2.1 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build: src/UglyToad.PdfPig.Fonts/InvalidFontFormatException.cs#L32
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L19
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L10
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
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/OptionalContentGroupElement.cs#L154
Possible null reference argument for parameter 'values' in 'string string.Join(string? separator, IEnumerable<string?> values)'.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L10
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L56
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.
build: src/UglyToad.PdfPig/Util/StackDictionary.cs#L10
The type 'K' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'K' doesn't match 'notnull' constraint.