Skip to content

UI Upgrade

UI Upgrade #217

Triggered via pull request May 17, 2024 07:05
Status Failure
Total duration 5m 6s
Artifacts

codeql.yml

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

Annotations

10 errors and 11 warnings
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Encryption/CdpCryptor.cs#L89
The type or namespace name 'EndianWriter' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L91
The type or namespace name 'EndianWriter' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Encryption/CdpCryptor.cs#L121
The type or namespace name 'EndianReader' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L120
The type or namespace name 'EndianReader' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/CdpSession.cs#L157
The type or namespace name 'EndianReader' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Messages/BodyCallback.cs#L3
The type or namespace name 'EndianWriter' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Messages/CdpMessage.cs#L44
The type or namespace name 'EndianReader' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Messages/CdpMessage.cs#L51
The type or namespace name 'EndianReader' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Messages/CdpMessage.cs#L9
The type or namespace name 'EndianBuffer' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): lib/ShortDev.Microsoft.ConnectedDevices/Messages/CommonHeaders.cs#L11
The type or namespace name 'EndianReader' could not be found (are you missing a using directive or an assembly reference?)
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.Android/UI/RecyclerAdapter.cs#L15
Exception type System.NullReferenceException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L15
get_ItemsSource creates an exception of type NullReferenceException, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L65
Exception type System.NullReferenceException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L60
In externally visible method 'void RecyclerViewAdapter<T>.OnBindViewHolder(ViewHolder holder, int position)', validate parameter 'holder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): lib/ShortDev.Android/UI/ListAdapter.cs#L23
In externally visible method 'View ListAdapter<T>.GetView(int position, View? convertView, ViewGroup? parent)', validate parameter 'parent' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L64
In externally visible method 'ViewHolder RecyclerViewAdapter<T>.OnCreateViewHolder(ViewGroup parent, int viewType)', validate parameter 'parent' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L15
Exception type System.NullReferenceException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L15
get_ItemsSource creates an exception of type NullReferenceException, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L65
Exception type System.NullReferenceException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
Analyze (csharp): lib/ShortDev.Android/UI/RecyclerAdapter.cs#L60
In externally visible method 'void RecyclerViewAdapter<T>.OnBindViewHolder(ViewHolder holder, int position)', validate parameter 'holder' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)