in src/DotPulsar/Internal/Compression/ZlibCompression.cs [60:76]
private static TypeInfo FindZlibStream(IEnumerable<TypeInfo> types)
{
const string fullName = "Ionic.Zlib.ZlibStream";
foreach (var type in types)
{
if (type.FullName is null || !type.FullName.Equals(fullName))
continue;
if (type.IsPublic && type.IsClass)
return type;
break;
}
throw new Exception($"{fullName} as a public class was not found");
}