some cleaning #173
Annotations
10 warnings
Build:
src/UTF8.cs#L294
In member SimdUnicode.UTF8.calculateErrorPathadjust(int, int, byte*, int, int, int), remove the underscores from parameter name start_point (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
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:
benchmark/Benchmark.cs#L49
Member 'PriorityInCategory' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build:
benchmark/Benchmark.cs#L50
Member 'IsNumeric' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build:
benchmark/Benchmark.cs#L133
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
benchmark/Benchmark.cs#L134
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build:
benchmark/Benchmark.cs#L134
Avoid unnecessary zero-length array allocations. Use Array.Empty<byte>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
Build:
benchmark/Benchmark.cs#L149
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
Build:
benchmark/Benchmark.cs#L162
In externally visible method 'void RealDataBenchmark.RunDotnetRuntimeUtf8ValidationBenchmark(byte[] data, DotnetRuntimeUtf8ValidationFunction validationFunction)', validate parameter 'validationFunction' 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:
benchmark/Benchmark.cs#L162
In externally visible method 'void RealDataBenchmark.RunDotnetRuntimeUtf8ValidationBenchmark(byte[] data, DotnetRuntimeUtf8ValidationFunction validationFunction)', 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)
|
Loading