Fix column attribute bug

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

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;