diff --git a/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs b/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs index b41e407..fdf6012 100644 --- a/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs +++ b/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs @@ -4,7 +4,7 @@ namespace Qowaiv.Validation.DataAnnotations; /// Validates if the decorated enum has a value that is a defined. [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)] -[Obsolete("Use DefinedAttribute instead.")] +[Obsolete("Use DefinedOnlyAttribute instead.")] public class DefinedEnumValuesOnlyAttribute : ValidationAttribute { /// Initializes a new instance of the class.