Skip to content

Adjust namespace

Adjust namespace #258

Triggered via push January 6, 2025 15:24
Status Success
Total duration 19m 4s
Artifacts

codeql.yml

on: push
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/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/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)