Fixed a few code issues. #105
Annotations
11 warnings
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/
|
Build:
SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build:
SharpSnmpLib/Messaging/Net6Discoverer.cs#L26
Remove this empty namespace. (https://rules.sonarsource.com/csharp/RSPEC-3261)
|
Build:
SharpSnmpLib/OperationException.cs#L39
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
The logs for this run have expired and are no longer available.
Loading