Skip to content

Commit 10236c8

Browse files
committed
Removing compile warning
1 parent d59e542 commit 10236c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AutoCtor.Attributes/AutoConstructAttribute.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ public enum GuardSetting
1212

1313
[AttributeUsage(Class | Struct, AllowMultiple = false, Inherited = false)]
1414
[Conditional("AUTOCTOR_USAGES")]
15+
#pragma warning disable CS9113 // Parameter is unread.
1516
public sealed class AutoConstructAttribute(GuardSetting guard = GuardSetting.Default) : Attribute;
17+
#pragma warning restore CS9113 // Parameter is unread.
1618

1719
[AttributeUsage(Method, AllowMultiple = false, Inherited = false)]
1820
[Conditional("AUTOCTOR_USAGES")]

0 commit comments

Comments
 (0)