Update with JSON encoder. #3454
Annotations
10 errors and 12 warnings
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L958
Cannot implicitly convert type 'Opc.Ua.JsonNetworkMessage' to 'Opc.Ua.PubSub.UaNetworkMessage'
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L997
'JsonDataSetMessage' does not contain a constructor that takes 1 arguments
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L998
'JsonDataSetMessage' does not contain a definition for 'DataSetMessageContentMask'
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1002
'JsonDataSetMessage' does not contain a definition for 'SetFieldContentMask' and no accessible extension method 'SetFieldContentMask' accepting a first argument of type 'JsonDataSetMessage' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1041
'JsonNetworkMessage' does not contain a constructor that takes 2 arguments
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1042
'JsonNetworkMessage' does not contain a definition for 'SetNetworkMessageContentMask' and no accessible extension method 'SetNetworkMessageContentMask' accepting a first argument of type 'JsonNetworkMessage' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1046
'JsonNetworkMessage' does not contain a definition for 'WriterGroupId' and no accessible extension method 'WriterGroupId' accepting a first argument of type 'JsonNetworkMessage' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1048
'JsonNetworkMessage' does not contain a definition for 'NetworkMessageContentMask' and no accessible extension method 'NetworkMessageContentMask' accepting a first argument of type 'JsonNetworkMessage' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1050
'JsonDataSetMessage' does not contain a definition for 'DataSet' and no accessible extension method 'DataSet' accepting a first argument of type 'JsonDataSetMessage' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L1053
Argument 1: cannot convert from 'Opc.Ua.JsonNetworkMessage' to 'Opc.Ua.PubSub.UaNetworkMessage'
|
Build:
Libraries/Opc.Ua.Security.Certificates/X509Crl/CrlReason.cs#L53
Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509AuthorityKeyIdentifierExtension.cs#L66
In externally visible method 'X509AuthorityKeyIdentifierExtension.X509AuthorityKeyIdentifierExtension(AsnEncodedData encodedExtension, bool critical)', validate parameter 'encodedExtension' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509CrlNumberExtension.cs#L60
In externally visible method 'X509CrlNumberExtension.X509CrlNumberExtension(AsnEncodedData encodedExtension, bool critical)', validate parameter 'encodedExtension' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509SubjectAltNameExtension.cs#L88
In externally visible method 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(AsnEncodedData encodedExtension, bool critical)', validate parameter 'encodedExtension' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509SubjectAltNameExtension.cs#L116
Change the type of parameter 'applicationUri' of method 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(string, IEnumerable<string>)' from 'string' to 'System.Uri', or provide an overload to 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(string, IEnumerable<string>)' that allows 'applicationUri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
|
Build:
Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Crl.cs#L70
In externally visible method 'X509CRL.X509CRL(IX509CRL crl)', validate parameter 'crl' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Crl.cs#L176
Modify 'VerifySignature' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509SubjectAltNameExtension.cs#L121
In externally visible method 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(string applicationUri, IEnumerable<string> domainNames)', validate parameter 'domainNames' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509Extensions.cs#L52
In externally visible method 'T X509Extensions.FindExtension<T>(X509Certificate2 certificate)', validate parameter 'certificate' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Crl.cs#L192
In externally visible method 'bool X509CRL.IsRevoked(X509Certificate2 certificate)', validate parameter 'certificate' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Upload to Codecov
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Upload test results
No files were found with the provided path: TestResults-PubSub-ubuntu-latest-net8.0-Release. No artifacts will be uploaded.
|
Loading