Skip to content

Add Traditional Chinese (Taiwanese Chinese) #207

Add Traditional Chinese (Taiwanese Chinese)

Add Traditional Chinese (Taiwanese Chinese) #207

Re-run triggered April 28, 2024 21:11
Status Failure
Total duration 10m 39s
Artifacts

codeql.yml

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

Annotations

1 error and 11 warnings
Analyze (csharp)
Process completed with exit code 1.
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/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#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/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#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.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)