UaLens — multi-tab Avalonia desktop client for OPC UA #7043
Annotations
10 warnings and 1 notice
|
Build:
Tests/Opc.Ua.Server.Tests/AliasNames/AliasNameMethodDispatcherTests.cs#L168
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Build:
Tests/Opc.Ua.Server.Tests/AliasNames/AliasNameMethodDispatcherTests.cs#L140
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Build:
Tests/Opc.Ua.Server.Tests/AliasNames/AliasNameMethodDispatcherTests.cs#L117
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Build:
Tests/Opc.Ua.Server.Tests/AliasNames/AliasNameMethodDispatcherTests.cs#L111
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Build:
Tests/Opc.Ua.Server.Tests/AliasNames/AliasNameMethodDispatcherTests.cs#L87
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Build:
Tests/Opc.Ua.Server.Tests/AliasNames/AliasNameMethodDispatcherTests.cs#L81
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
|
Build:
Applications/Quickstarts.Servers/ReferenceServer/ReferenceServer.cs#L307
Change return type of method 'CreateDefaultFileSystemProvider' from 'Opc.Ua.Server.FileSystem.IFileSystemProvider' to 'Opc.Ua.Server.FileSystem.PhysicalFileSystemProvider' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
Build:
Libraries/Opc.Ua.Client/AliasNames/PubSub/AliasNamePubSubRefreshStrategy.cs#L164
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Client.AliasNames.PubSub.AliasNamePubSubRefreshStrategy.StripNamespacePrefix(string?)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
|
Build:
Libraries/Opc.Ua.Client/AliasNames/AliasNameResolverOptions.cs#L69
The enum member 'AutoOnLastChangePolling' has the same constant value '1' as member 'AutoOnLastChange' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1069)
|
|
Build:
Libraries/Opc.Ua.Server/FileSystem/FileSystemNodeId.cs#L233
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Server.FileSystem.FileSystemNodeId.ConstructIdForComponent(Opc.Ua.NodeState, ushort)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
|
|
background
wait
wait-all
cancel
parallel
Loading