diff --git a/Core/Utils/ImporterUtil.cs b/Core/Utils/ImporterUtil.cs index 4bc42269..03960bd8 100644 --- a/Core/Utils/ImporterUtil.cs +++ b/Core/Utils/ImporterUtil.cs @@ -117,7 +117,8 @@ public class ImporterUtil { var matchedProperty = type.GetProperties() .FirstOrDefault(prop => - prop.Name.ToLower() == _fileUtil.StripExtension(propertyName).ToLower()); + string.Equals(prop.Name.ToLower(), _fileUtil.StripExtension(propertyName).ToLower(), + StringComparison.Ordinal)); if (matchedProperty == null) throw new Exception( $"Unable to find property '{_fileUtil.StripExtension(propertyName)}' for type '{type.Name}'");