Fix SourceTimestamp for variables without explicit timestamps in BaseVariableState #4385
Annotations
10 warnings
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
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)
|
|
Analyze (csharp):
Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.Client.IMqttClient' to 'MQTTnet.Client.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
|
Analyze (csharp):
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
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)
|