private static bool MatchAttributeName(Type attributeType, string name) => attributeType.Name.Replace("Attribute", "") == name || attributeType.Name == name;