Initial Investigation #97
Annotations
10 errors and 12 warnings
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L43
No overload for method 'Publish' takes 4 arguments
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L67
Argument 2: cannot convert from 'System.Collections.Generic.Queue<Opc.Ua.EventFieldList>' to 'System.Collections.Generic.Queue<Opc.Ua.MonitoredItemNotification>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L67
Argument 3: cannot convert from 'int' to 'System.Collections.Generic.Queue<Opc.Ua.DiagnosticInfo>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L92
No overload for method 'Publish' takes 4 arguments
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L120
Argument 2: cannot convert from 'System.Collections.Generic.Queue<Opc.Ua.EventFieldList>' to 'System.Collections.Generic.Queue<Opc.Ua.MonitoredItemNotification>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L120
Argument 3: cannot convert from 'int' to 'System.Collections.Generic.Queue<Opc.Ua.DiagnosticInfo>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L148
Argument 2: cannot convert from 'System.Collections.Generic.Queue<Opc.Ua.EventFieldList>' to 'System.Collections.Generic.Queue<Opc.Ua.MonitoredItemNotification>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L148
Argument 3: cannot convert from 'int' to 'System.Collections.Generic.Queue<Opc.Ua.DiagnosticInfo>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L159
Argument 2: cannot convert from 'System.Collections.Generic.Queue<Opc.Ua.EventFieldList>' to 'System.Collections.Generic.Queue<Opc.Ua.MonitoredItemNotification>'
|
Build:
Tests/Opc.Ua.Server.Tests/MonitoredItemTests.cs#L159
Argument 3: cannot convert from 'int' to 'System.Collections.Generic.Queue<Opc.Ua.DiagnosticInfo>'
|
Upload test results
No files were found with the provided path: TestResults-Client-macOS-latest-net8.0-Release. No artifacts will be uploaded.
|
Upload to Codecov
Codecov:
Failed to properly upload report: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed 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/Common/AsnUtils.cs#L96
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Security.Certificates.AsnUtils.FromHexString(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.Security.Certificates/Common/AsnUtils.cs#L108
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Security.Certificates.AsnUtils.FromHexString(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.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/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/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/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)
|
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)
|
Loading