Improve Avalonia Support #562
+222
−90
Merged
Annotations
12 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build:
src/OpenRiaServices.Server/Framework/Data/DynamicMethodUtility.cs#L213
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'DynamicMethodUtility.GetDynamicMethod(MethodInfo)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L525
'AuthenticationCodeProcessor.CheckIUser(Type)' passes 'CultureInfo.InstalledUICulture' as the 'IFormatProvider' parameter to 'string.Format(IFormatProvider, string, object)'. This property returns a culture that is inappropriate for formatting methods. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L505
'AuthenticationCodeProcessor.CheckIUser(Type)' passes 'CultureInfo.InstalledUICulture' as the 'IFormatProvider' parameter to 'string.Format(IFormatProvider, string, object, object)'. This property returns a culture that is inappropriate for formatting methods. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L483
'AuthenticationCodeProcessor.CheckIUser(Type)' passes 'CultureInfo.InstalledUICulture' as the 'IFormatProvider' parameter to 'string.Format(IFormatProvider, string, object)'. This property returns a culture that is inappropriate for formatting methods. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L476
'AuthenticationCodeProcessor.CheckIUser(Type)' passes 'CultureInfo.InstalledUICulture' as the 'IFormatProvider' parameter to 'string.Format(IFormatProvider, string, object, object)'. This property returns a culture that is inappropriate for formatting methods. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L405
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L377
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
|
build:
src/OpenRiaServices.Server/Framework/Authentication/AuthenticationCodeProcessor.cs#L318
'AuthenticationCodeProcessor.CheckIAuthentication(DomainServiceDescription, out Type)' passes 'CultureInfo.InstalledUICulture' as the 'IFormatProvider' parameter to 'string.Format(IFormatProvider, string, object)'. This property returns a culture that is inappropriate for formatting methods. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
build:
src/OpenRiaServices.Server/Framework/Data/ReflectionDomainServiceDescriptionProvider.cs#L445
Change return type of method 'GetMethodParameters' from 'System.Collections.Generic.IEnumerable<OpenRiaServices.Server.DomainOperationParameter>' to 'System.Collections.Generic.List<OpenRiaServices.Server.DomainOperationParameter>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
build:
src/OpenRiaServices.Client/Framework/DomainException.cs#L97
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Initialize CodeQL
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses.
To opt out of this change, set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`. Alternatively, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.
|
Loading