silencing some warnings #139
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build:
src/Ascii.cs#L28
In externally visible method 'bool Ascii.IsAscii(string s)', validate parameter 's' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
test/helpers/randomutf8.cs#L6
Declare types in namespaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050)
|
Build:
test/UTF8ValidationTests.cs#L116
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'tests.Utf8SIMDValidationTests.NoErrorTest()' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Build:
test/UTF8ValidationTests.cs#L375
In externally visible method 'bool Utf8SIMDValidationTests.ValidateUtf8Fuschia(byte[] data)', validate parameter 'data' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
test/UTF8ValidationTests.cs#L12
Unused field 'rand' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
|
Build:
test/AsciiTest.cs#L92
Remove the underscores from member name tests.AsciiTest.Test_ASCII_generator() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Build:
test/AsciiTest.cs#L115
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Build:
test/AsciiTest.cs#L139
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Build:
test/AsciiTest.cs#L169
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Build:
test/helpers/randomutf8.cs#L12
In member RandomUtf8.RandomUtf8(uint, int, int, int, int), remove the underscores from parameter name prob_1byte (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Loading