Skip to content

Improve code style by applying analyzer rules #3146

Improve code style by applying analyzer rules

Improve code style by applying analyzer rules #3146

Triggered via pull request January 28, 2025 17:10
Status Success
Total duration 29m 1s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): Tests/Opc.Ua.PubSub.Tests/Transport/UdpPubSubConnectionTests.cs#L342
This call site is reachable on all platforms. 'UnicastIPAddressInformation.AddressPreferredLifetime' is supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L244
The behavior of 'StringBuilder.AppendFormat(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L247
The behavior of 'StringBuilder.AppendFormat(string, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L253
The behavior of 'StringBuilder.AppendFormat(string, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L255
The behavior of 'StringBuilder.AppendFormat(string, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L244
The behavior of 'StringBuilder.AppendFormat(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L247
The behavior of 'StringBuilder.AppendFormat(string, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L253
The behavior of 'StringBuilder.AppendFormat(string, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L255
The behavior of 'StringBuilder.AppendFormat(string, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,
Analyze (csharp): Applications/ConsoleReferenceServer/UAServer.cs#L244
The behavior of 'StringBuilder.AppendFormat(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'UAServer<T>.PrintSessionStatus(Session, string,