diff --git a/src/Constants.cs b/src/Constants.cs index 9936f30..69b8bda 100644 --- a/src/Constants.cs +++ b/src/Constants.cs @@ -67,9 +67,6 @@ internal static partial class Constants [AttributeUsage(@Class | @Struct, Inherited = false, AllowMultiple = false)] {{{GeneratedCodeAttributesList}}} internal sealed class RegexDtoAttribute( - #if NET7_0_OR_GREATER - [@StringSyntax(StringSyntax.Regex)] - #endif string Regex, System.Type? BaseType = null, RegexOptions RegexOptions = Compiled | CultureInvariant | ExplicitCapture | IgnoreCase | IgnorePatternWhitespace | Singleline) : System.Attribute { public string Regex { get; } = Regex;