Add session #277
Annotations
2 errors and 17 warnings
|
Test
The operation was canceled.
|
Test:
src/libp2p/Libp2p.Core/Stream.cs#L17
Non-nullable field 'logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'LocalPeer peer' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Test:
src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'ProtocolRef proto' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Test:
src/libp2p/Libp2p.Core/Stream.cs#L11
The field 'ChannelStream.logger' is never used
|
Test:
src/libp2p/Libp2p.Core.TestsBase/E2e/TestMuxerProtocol.cs#L166
Dereference of a possibly null reference.
|
Test:
src/libp2p/Libp2p.Core.TestsBase/E2e/TestLocalPeer.cs#L16
The event 'TestLocalPeer.OnConnected' is never used
|
Test:
src/libp2p/Libp2p.Core.TestsBase/LocalPeerStub.cs#L22
The event 'LocalPeerStub.OnConnected' is never used
|
Build:
src/libp2p/Libp2p.Core/Stream.cs#L17
Non-nullable field 'logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Build:
src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'LocalPeer peer' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Build:
src/libp2p/Libp2p.Core/TransportContext.cs#L25
Parameter 'ProtocolRef proto' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Build:
src/libp2p/Libp2p.Core/Stream.cs#L11
The field 'ChannelStream.logger' is never used
|
Build:
src/libp2p/Libp2p.Protocols.Ping/PingProtocol.cs#L33
Possible null reference argument for parameter 'remotePeer' in 'void LogMessages.LogPing(ILogger logger, Multiaddress remotePeer)'.
|
Build:
src/libp2p/Libp2p.Protocols.Ping/PingProtocol.cs#L37
Possible null reference argument for parameter 'remotePeer' in 'void LogMessages.ReadingPong(ILogger logger, Multiaddress remotePeer)'.
|
Build:
src/libp2p/Libp2p.Protocols.Ping/PingProtocol.cs#L41
Possible null reference argument for parameter 'remotePeer' in 'void LogMessages.VerifyingPong(ILogger logger, Multiaddress remotePeer)'.
|
Build:
src/libp2p/Libp2p.Protocols.Ping/PingProtocol.cs#L44
Possible null reference argument for parameter 'remotePeer' in 'void LogMessages.PingFailed(ILogger logger, Multiaddress remotePeer)'.
|
Build:
src/libp2p/Libp2p.Protocols.Ping/PingProtocol.cs#L48
Possible null reference argument for parameter 'remotePeer' in 'void LogMessages.LogPinged(ILogger logger, Multiaddress remotePeer)'.
|
Build:
src/libp2p/Libp2p.Protocols.Ping/PingProtocol.cs#L53
Possible null reference argument for parameter 'remotePeer' in 'void LogMessages.PingListenStarted(ILogger logger, Multiaddress remotePeer)'.
|
Loading