in src/DotPulsar/Schemas/AvroGenericRecordSchema.cs [159:168]
private static TypeInfo LoadSchemaType(IEnumerable<TypeInfo> types)
{
foreach (var type in types)
{
if (type.IsPublic && type.IsClass && !type.IsGenericType && type.FullName is not null && type.FullName.Equals(AvroSchemafullName))
return type;
}
throw new SchemaException($"'{AvroSchemafullName}' as a generic public class was not found");
}