Cleanup using statements #588
Annotations
24 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v2, microsoft/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: microsoft/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Add msbuild to PATH
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 the solution:
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 the solution:
src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L16
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 the solution:
src/UglyToad.PdfPig/Util/StackDictionary.cs#L8
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 the solution:
src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L72
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 the solution:
src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L72
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 the solution:
src/UglyToad.PdfPig/Writer/Xmp/XmpWriter.cs#L247
Possible null reference argument for parameter 'other' in 'XDocument.XDocument(XDocument other)'.
|
Build the solution:
src/UglyToad.PdfPig/Content/OptionalContentGroupElement.cs#L152
Possible null reference argument for parameter 'values' in 'string string.Join(string? separator, IEnumerable<string?> values)'.
|
Build the solution:
src/UglyToad.PdfPig/Util/StackDictionary.cs#L8
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 the solution:
src/UglyToad.PdfPig/Util/StackDictionary.cs#L54
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 the solution:
src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L16
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.
|
Set up dotnet core
.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.
|
Run the tests:
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)
|
Run the tests:
src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L16
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.
|
Run the tests:
src/UglyToad.PdfPig/Util/StackDictionary.cs#L8
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.
|
Run the tests:
src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L72
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).
|
Run the tests:
src/UglyToad.PdfPig/Writer/PdfDedupStreamWriter.cs#L72
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).
|
Run the tests:
src/UglyToad.PdfPig/Writer/Xmp/XmpWriter.cs#L247
Possible null reference argument for parameter 'other' in 'XDocument.XDocument(XDocument other)'.
|
Run the tests:
src/UglyToad.PdfPig/Util/StackDictionary.cs#L8
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.
|
Run the tests:
src/UglyToad.PdfPig/Util/StackDictionary.cs#L54
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.
|
Run the tests:
src/UglyToad.PdfPig/Content/OptionalContentGroupElement.cs#L152
Possible null reference argument for parameter 'values' in 'string string.Join(string? separator, IEnumerable<string?> values)'.
|
Run the tests:
src/UglyToad.PdfPig/PdfFonts/Cmap/CMapUtils.cs#L16
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.
|
Loading