Skip to content

Fix styling + make Codec an abstract class instead of interface #15

Fix styling + make Codec an abstract class instead of interface

Fix styling + make Codec an abstract class instead of interface #15

Triggered via push February 20, 2026 17:08
Status Success
Total duration 37s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
build: Codon.Tests/BinaryCodecTests.cs#L98
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: Codon.Tests/PrimitiveCodecTests.cs#L10
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'Codec<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
build: Codon.Tests/BinaryCodecTests.cs#L98
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
build: Codon.Tests/PrimitiveCodecTests.cs#L10
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'Codec<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.