install .NET 9.0 #3526
Annotations
10 warnings
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:
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/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/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:
Applications/Quickstarts.Servers/MemoryBuffer/MemoryBufferNodeManager.cs#L237
The behavior of 'Convert.ToUInt32(string)' could vary based on the current user's locale settings. Replace this call in 'MemoryBufferNodeManager.GetManagerHandle(ISystemContext, NodeId, IDictionary<NodeId, NodeState>)' with a call to 'Convert.ToUInt32(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/Alarms/AlarmNodeManager.cs#L146
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'AlarmNodeManager.CreateAddressSpace(IDictionary<NodeId, IList<IReference>>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/Alarms/AlarmHolders/DiscreteHolder.cs#L88
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'DiscreteHolder.SetValue([string])' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/Alarms/AlarmHolders/ConditionTypeHolder.cs#L171
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ConditionTypeHolder.ReportEvent([ConditionState])' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/Alarms/AlarmHolders/AlarmConditionTypeHolder.cs#L275
The behavior of 'double.ToString()' could vary based on the current user's locale settings. Replace this call in 'AlarmConditionTypeHolder.OnShelve(ISystemContext, AlarmConditionState, bool, bool, double)' with a call to 'double.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Loading