Fix column attribute bug

This commit is contained in:
Nathan McRae 2024-03-09 09:57:00 -08:00
parent a66f6a1368
commit e38baa9167

View File

@ -95,7 +95,7 @@ public class SaneTsv
foreach (PropertyInfo property in typeof(T).GetProperties())
{
TypedTsvColumnAttribute attribute = (TypedTsvColumnAttribute)Attribute.GetCustomAttribute(property, typeof(TypedTsvColumnAttribute));
TsvColumnAttribute attribute = (TsvColumnAttribute)Attribute.GetCustomAttribute(property, typeof(TsvColumnAttribute));
if (attribute == null)
{
continue;