Code cleanup #217
Annotations
1 error and 12 warnings
Test Requests/Responses with spid-sp-test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. 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: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/XmlHelpers.cs#L78
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/XmlHelpers.cs#L40
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/OptionsHelper.cs#L34
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/OptionsHelper.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SPID.AspNetCore.Authentication/Saml/SamlHandler.cs#L345
The result of the expression is always 'false' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build:
src/SPID.AspNetCore.Authentication/Saml/SamlHandler.cs#L374
The result of the expression is always 'false' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/XmlHelpers.cs#L78
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/XmlHelpers.cs#L40
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/OptionsHelper.cs#L34
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/SPID.AspNetCore.Authentication/Helpers/OptionsHelper.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Loading