From c00c33c6cb32916e8b517573360d5197ebb68e5f Mon Sep 17 00:00:00 2001 From: "David G. Moore, Jr" Date: Sat, 30 Mar 2024 20:30:15 -0400 Subject: [PATCH] Update Constants.cs --- src/Constants.cs | 3 --- 1 file changed, 3 deletions(-) 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;