Skip to content

Performance of CommonHeader.CalcSize #277

Performance of CommonHeader.CalcSize

Performance of CommonHeader.CalcSize #277

Triggered via pull request January 27, 2025 22:37
Status Success
Total duration 18m 2s
Artifacts

codeql.yml

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

Annotations

10 warnings
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Session/Upgrade/HostUpgradeHandler.cs#L98
'ConnectedDevicesPlatform.TryGetTransport<T>()' is obsolete: 'Use overload instead'
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)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/GuardFlag.cs#L19
Rename 'GuardFlag.System.IDisposable.Dispose' to 'Dispose' and ensure that it is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/GuardFlag.cs#L22
Provide a method named 'ToBoolean' or 'FromGuardFlag' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/GuardFlag.cs#L9
Member '_value' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
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/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/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/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)