Cross-Platform Compilation #186
Annotations
11 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (csharp):
lib/ShortDev.Microsoft.ConnectedDevices/CdpAppBase.cs#L11
Parameter 'cdp' is unread.
|
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/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/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#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#L94
Member '_sequenceNumber' 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#L95
Member '_requestId' 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#L119
Member '_connectionEstablished' 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#L192
Member 'IsDisposed' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Analyze (csharp):
lib/ShortDev.Microsoft.ConnectedDevices/Messages/AdditionalHeaderType.cs#L9
If possible, make the underlying type of AdditionalHeaderType System.Int32 instead of byte (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1028)
|