Skip to content

docs: Add more docs / tests #155

docs: Add more docs / tests

docs: Add more docs / tests #155

Triggered via push January 3, 2025 18:31
Status Success
Total duration 2m 7s
Artifacts
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): src/BCrypt.Net/BCryptExtendedV3.cs#L36
Invalid type for parameter workFactor in XML comment cref attribute: 'HashPassword(string, string, workFactor, HashType)'
Analyze (csharp): src/BCrypt.Net/BCryptExtendedV3.cs#L36
XML comment has cref attribute 'HashPassword(string, string, workFactor, HashType)' that could not be resolved
Analyze (csharp): src/BCrypt.Net/BCrypt.cs#L128
The behavior of 'Convert.ToInt16(string)' could vary based on the current user's locale settings. Replace this call in 'BCrypt.ValidateAndUpgradeHash(string, string, string,
Analyze (csharp): src/BCrypt.Net/BCrypt.cs#L89
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/BCrypt.Net/HashParser.cs#L82
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptNet.HashParser.IsValidHash(string, out BCryptNet.HashParser.HashFormatDescriptor)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Analyze (csharp): src/BCrypt.Net/HashParser.cs#L70
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L273
The behavior of 'Convert.ToInt16(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptCore.CreatePasswordHash(string, string,
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L227
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L315
The behavior of 'int.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptCore.HashBytes(byte[], string, char, int)' with a call to 'int.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
Analyze (csharp): src/BCrypt.Net/BCryptBase.cs#L350
The behavior of 'int.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'BCryptCore.GenerateSalt([int],