CodeQL #256
Annotations
13 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-dotnet@v1, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PanoramicData.NCalcExtensions/Extensions/ListOf.cs#L87
Possible null reference argument for parameter 'item' in 'void List<T>.Add(T item)'.
|
PanoramicData.NCalcExtensions/Extensions/DateTimeMethods.cs#L100
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DateTime.BetterToString(string)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
PanoramicData.NCalcExtensions/Extensions/DateTimeMethods.cs#L101
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DateTime.BetterToString(string)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
PanoramicData.NCalcExtensions/Extensions/DateTimeMethods.cs#L103
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DateTime.BetterToString(string)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
PanoramicData.NCalcExtensions/Extensions/TimeSpan.cs#L41
The behavior of 'TimeSpan.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'TimeSpan.Evaluate(FunctionArgs)' with a call to 'TimeSpan.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
PanoramicData.NCalcExtensions/Extensions/Sum.cs#L15
Type 'byte' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
|
PanoramicData.NCalcExtensions/Extensions/Sum.cs#L16
Type 'short' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
|
PanoramicData.NCalcExtensions/Extensions/Sum.cs#L38
Type 'byte' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
|
PanoramicData.NCalcExtensions/Extensions/Sum.cs#L39
Type 'short' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
|
PanoramicData.NCalcExtensions/Extensions/Max.cs#L16
Type 'byte' is incompatible with type 'int' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
|
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
This job succeeded
Loading