Improved RandomHelper #20531
+13
−28
Open
Improved RandomHelper #20531
Annotations
1 error and 12 warnings
Test All
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build All:
framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs#L75
Avoid inexact read with 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Build All:
framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L33
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
|
Build All:
framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L57
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
|
Build All:
framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L33
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
|
Build All:
framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L57
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
|
Build All:
framework/test/Volo.Abp.Core.Tests/Volo/Abp/DependencyInjection/AutoRegistrationHelper_Tests.cs#L71
The type name 'defaultderivedservice' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
Build All:
framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L118
The default value specified for parameter 'displayName' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
|
Build All:
framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L119
The default value specified for parameter 'multiTenancySide' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
|
Build All:
framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L120
The default value specified for parameter 'isEnabled' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
|
Build All:
framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L118
The default value specified for parameter 'displayName' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
|
Loading