Serilog 4.1.0 #30
Annotations
10 warnings
Build:
src/UniNetty.Logging/EventId.cs#L25
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build:
src/UniNetty.Buffers/ByteBufferUtil.cs#L1193
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
|
Build:
src/UniNetty.Buffers/ByteBufferUtil.cs#L1201
The 'ref' modifier for argument 2 corresponding to 'in' parameter is equivalent to 'in'. Consider using 'in' instead.
|
Build:
src/UniNetty.Transport/Channels/DefaultChannelPipeline.cs#L990
'DefaultChannelPipeline.TailContext.SkipFlags' hides inherited member 'AbstractChannelHandlerContext.SkipFlags'. Use the new keyword if hiding was intended.
|
Build:
src/UniNetty.Transport/Channels/DefaultChannelPipeline.cs#L1068
'DefaultChannelPipeline.HeadContext.SkipFlags' hides inherited member 'AbstractChannelHandlerContext.SkipFlags'. Use the new keyword if hiding was intended.
|
Build:
src/UniNetty.Transport/Channels/Pool/FixedChannelPool.cs#L302
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
Build:
test/UniNetty.Tests.Common/AssertEx.cs#L27
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
|
Build:
src/UniNetty.Codecs/ByteToMessageDecoder.cs#L274
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
|
Build:
test/UniNetty.Buffers.Tests/PooledByteBufferAllocatorTests.cs#L166
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
Build:
test/UniNetty.Buffers.Tests/AbstractByteBufferTests.cs#L3413
Using Assert.Empty with an instance of System.ArraySegment<byte> is problematic, because its implementation of GetEnumerator() can throw. Check the length with .Count instead. (https://xunit.net/xunit.analyzers/rules/xUnit2028)
|
Loading