Rename parameter #3548
Annotations
10 warnings
Build:
Stack/Opc.Ua.Core/Types/Encoders/XmlEncoder.cs#L539
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Build:
Stack/Opc.Ua.Core/Stack/Tcp/TcpTransportListener.cs#L188
The behavior of 'Convert.ToUInt32(string)' could vary based on the current user's locale settings. Replace this call in 'TcpTransportListener.UpdateChannelLastActiveTime(string)' with a call to 'Convert.ToUInt32(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Stack/Opc.Ua.Core/Types/Encoders/JsonEncoder.cs#L1103
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Build:
Stack/Opc.Ua.Core/Types/Encoders/BinaryEncoder.cs#L586
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Build:
Stack/Opc.Ua.Core/Stack/Configuration/SecurityConfigurationManager.cs#L95
Avoid inexact read with 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Build:
Tests/Opc.Ua.PubSub.Tests/Encoding/MessagesHelper.cs#L2844
The behavior of 'Convert.ToBoolean(object)' could vary based on the current user's locale settings. Replace this call in 'MessagesHelper.UpdateSnapshotData(UaPubSubApplication, ushort)' with a call to 'Convert.ToBoolean(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Tests/Opc.Ua.PubSub.Tests/Encoding/MessagesHelper.cs#L2851
The behavior of 'Convert.ToByte(object)' could vary based on the current user's locale settings. Replace this call in 'MessagesHelper.UpdateSnapshotData(UaPubSubApplication, ushort)' with a call to 'Convert.ToByte(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Tests/Opc.Ua.PubSub.Tests/Encoding/MessagesHelper.cs#L2858
The behavior of 'Convert.ToInt16(object)' could vary based on the current user's locale settings. Replace this call in 'MessagesHelper.UpdateSnapshotData(UaPubSubApplication, ushort)' with a call to 'Convert.ToInt16(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Tests/Opc.Ua.PubSub.Tests/Encoding/MessagesHelper.cs#L2867
The behavior of 'Convert.ToInt32(object)' could vary based on the current user's locale settings. Replace this call in 'MessagesHelper.UpdateSnapshotData(UaPubSubApplication, ushort)' with a call to 'Convert.ToInt32(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Tests/Opc.Ua.PubSub.Tests/Encoding/MessagesHelper.cs#L2876
The behavior of 'Convert.ToUInt16(object)' could vary based on the current user's locale settings. Replace this call in 'MessagesHelper.UpdateSnapshotData(UaPubSubApplication, ushort)' with a call to 'Convert.ToUInt16(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Loading