Skip to content

Fixed a few code issues. #105

Fixed a few code issues.

Fixed a few code issues. #105

Re-run triggered January 15, 2024 01:37
Status Success
Total duration 7m 32s
Artifacts

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
macos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
macos: SharpSnmpLib/Messaging/Net6Discoverer.cs#L26
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
macos: SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
macos: SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
macos: SharpSnmpLib/Messaging/Net6Discoverer.cs#L26
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
linux
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
macos: SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
linux: SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
macos: Tests/CSharpCore/Unit/SnmpExceptionTestFixture.cs#L76
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: SharpSnmpLib/Messaging/Net6Discoverer.cs#L26
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
macos: Tests/CSharpCore/Unit/SnmpExceptionTestFixture.cs#L80
'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
macos: Tests/CSharpCore/Unit/Messaging/TimeoutExceptionTestFixture.cs#L61
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/SnmpExceptionTestFixture.cs#L76
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
macos: Tests/CSharpCore/Unit/Messaging/TimeoutExceptionTestFixture.cs#L65
'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/SnmpExceptionTestFixture.cs#L80
'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
macos: Tests/CSharpCore/Unit/Messaging/PortInUseExceptionTestFixture.cs#L62
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/Messaging/TimeoutExceptionTestFixture.cs#L61
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/Messaging/TimeoutExceptionTestFixture.cs#L65
'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/Messaging/ErrorExceptionTestFixture.cs#L61
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/Messaging/ErrorExceptionTestFixture.cs#L65
'BinaryFormatter.Deserialize(Stream)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
linux: Tests/CSharpCore/Unit/Messaging/PortInUseExceptionTestFixture.cs#L62
'BinaryFormatter.Serialize(Stream, object)' is obsolete: 'BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.' (https://aka.ms/dotnet-warnings/SYSLIB0011)
windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/