fix net60 builds #3659
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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#L1110
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#L596
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/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/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/TestData/TestDataObjectState.cs#L145
The behavior of 'Convert.ToDouble(object)' could vary based on the current user's locale settings. Replace this call in 'TestDataObjectState.OnWriteAnalogValue(ISystemContext, NodeState, ref object)' with a call to 'Convert.ToDouble(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/TestData/TestDataObjectState.cs#L156
The behavior of 'Convert.ToDouble(object)' could vary based on the current user's locale settings. Replace this call in 'TestDataObjectState.OnWriteAnalogValue(ISystemContext, NodeState, ref object)' with a call to 'Convert.ToDouble(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/ReferenceServer/ReferenceNodeManager.cs#L1693
The behavior of 'uint.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'ReferenceNodeManager.CreateDataItemVariables(NodeState, string, string, BuiltInType, int, ushort)' with a call to 'uint.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Applications/Quickstarts.Servers/ReferenceServer/ReferenceNodeManager.cs#L672
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ReferenceNodeManager.CreateAddressSpace(IDictionary<NodeId, IList<IReference>>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Tests/Opc.Ua.Server.Tests/CustomNodeManagerTests.cs#L39
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Loading