Skip to content

Button to send text and clipboard (#185) #243

Button to send text and clipboard (#185)

Button to send text and clipboard (#185) #243

Triggered via push November 13, 2024 16:11
Status Success
Total duration 15m 56s
Artifacts

codeql.yml

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

Annotations

11 warnings
Analyze (csharp)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpAppBase.cs#L42
Ensure that 'CdpAppBase.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
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/CdpAppBase.cs#L11
Provide an overridable implementation of Dispose(bool) on 'CdpAppBase' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
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/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/CdpSession.cs#L22
Member 'HostCapabilities' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L23
Member 'ClientCapabilities' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L98
Member '_sequenceNumber' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)