in src/DotPulsar/Internal/Compression/Lz4Compression.cs [61:77]
private static TypeInfo FindLZ4Codec(IEnumerable<TypeInfo> types)
{
const string fullName = "K4os.Compression.LZ4.LZ4Codec";
foreach (var type in types)
{
if (type.FullName is null || !type.FullName.Equals(fullName))
continue;
if (type.IsPublic && type.IsClass && type.IsAbstract && type.IsSealed)
return type;
break;
}
throw new Exception($"{fullName} as a public and static class was not found");
}