Add tests and update null handling #986
Annotations
10 warnings
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L81
Argument of type 'Func<It.IsAnyType, Exception, string>' cannot be used for parameter 'formatter' of type 'Func<It.IsAnyType, Exception?, string>' in 'void ILogger.Log<IsAnyType>(LogLevel logLevel, EventId eventId, IsAnyType state, Exception? exception, Func<IsAnyType, Exception?, string> formatter)' due to differences in the nullability of reference types.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L90
Converting null literal or possible null value to non-nullable type.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L111
Argument of type 'Func<It.IsAnyType, Exception, string>' cannot be used for parameter 'formatter' of type 'Func<It.IsAnyType, Exception?, string>' in 'void ILogger.Log<IsAnyType>(LogLevel logLevel, EventId eventId, IsAnyType state, Exception? exception, Func<IsAnyType, Exception?, string> formatter)' due to differences in the nullability of reference types.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L114
Converting null literal or possible null value to non-nullable type.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L212
Dereference of a possibly null reference.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L278
Cannot convert null literal to non-nullable reference type.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L308
Dereference of a possibly null reference.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/MessageSerializerTests.cs#L319
Dereference of a possibly null reference.
|
build:
test/AWS.Messaging.UnitTests/SerializationTests/EnvelopeSerializerTests.cs#L643
Dereference of a possibly null reference.
|
build:
test/AWS.Messaging.UnitTests/MessagePublisherTests.cs#L778
Dereference of a possibly null reference.
|