Add PubSub types. #2707
Annotations
7 errors and 12 warnings
Build:
Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs#L475
'IJsonEncoder' does not contain a definition for 'UsingReversibleEncoding' and no accessible extension method 'UsingReversibleEncoding' accepting a first argument of type 'IJsonEncoder' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs#L483
'IJsonEncoder' does not contain a definition for 'UsingReversibleEncoding' and no accessible extension method 'UsingReversibleEncoding' accepting a first argument of type 'IJsonEncoder' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs#L519
'IJsonEncoder' does not contain a definition for 'UsingReversibleEncoding' and no accessible extension method 'UsingReversibleEncoding' accepting a first argument of type 'IJsonEncoder' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs#L475
'IJsonEncoder' does not contain a definition for 'UsingReversibleEncoding' and no accessible extension method 'UsingReversibleEncoding' accepting a first argument of type 'IJsonEncoder' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs#L483
'IJsonEncoder' does not contain a definition for 'UsingReversibleEncoding' and no accessible extension method 'UsingReversibleEncoding' accepting a first argument of type 'IJsonEncoder' could be found (are you missing a using directive or an assembly reference?)
|
Build:
Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs#L519
'IJsonEncoder' does not contain a definition for 'UsingReversibleEncoding' and no accessible extension method 'UsingReversibleEncoding' accepting a first argument of type 'IJsonEncoder' could be found (are you missing a using directive or an assembly reference?)
|
Build
Process completed with exit code 1.
|
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/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/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/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/PEM/PEMWriter.cs#L66
In externally visible method 'byte[] PEMWriter.ExportCertificateAsPEM(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/PEM/PEMReader.cs#L84
Use recommended dispose pattern to ensure that object created by 'RSA.Create()' is disposed on all paths. If possible, wrap the creation within a 'using' statement or a 'using' declaration. Otherwise, use a try-finally pattern, with a dedicated local variable declared before the try region and an unconditional Dispose invocation on non-null value in the 'finally' region, say 'x?.Dispose()'. If the object is explicitly disposed within the try region or the dispose ownership is transfered to another object or method, assign 'null' to the local variable just after such an operation to prevent double dispose in 'finally'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509Extensions.cs#L201
In externally visible method 'X509Extension X509Extensions.ReadExtension(AsnReader reader)', validate parameter 'reader' 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 test results
No files were found with the provided path: TestResults-PubSub-windows-latest-net8.0-Release. No artifacts will be uploaded.
|
Upload to Codecov
Codecov:
Failed to properly upload report: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
Loading