Skip to content

Improved cancellation #246

Improved cancellation

Improved cancellation #246

Triggered via pull request January 1, 2025 13:07
Status Success
Total duration 15m 56s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpSecurityException.cs#L3
Add the following constructor to CdpSecurityException: public CdpSecurityException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpException.cs#L5
Add the following constructor to CdpException: public CdpException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpSessionException.cs#L3
Add the following constructor to CdpSessionException: public CdpSessionException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpProtocolException.cs#L3
Add the following constructor to CdpProtocolException: public CdpProtocolException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpSecurityException.cs#L3
Add the following constructor to CdpSecurityException: public CdpSecurityException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpException.cs#L5
Add the following constructor to CdpException: public CdpException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpProtocolException.cs#L3
Add the following constructor to CdpProtocolException: public CdpProtocolException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Exceptions/CdpSessionException.cs#L3
Add the following constructor to CdpSessionException: public CdpSessionException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/GuardFlag.cs#L19
Ensure that 'GuardFlag.System.IDisposable.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)