Skip to content

Commit a5cecbb

Browse files
committed
make SyntaxAttribute internal
1 parent 9b341dd commit a5cecbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LinkDotNet.StringBuilder/StringSyntaxAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace System.Diagnostics.CodeAnalysis;
44
/// <summary>Fake version of the StringSyntaxAttribute, which was introduced in .NET 7</summary>
55
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property)]
66
[SuppressMessage("Design", "CA1019:Define accessors for attribute arguments", Justification = "The sole purpose is to have the same public surface as the class in .NET7 and above.")]
7-
public sealed class StringSyntaxAttribute : Attribute
7+
internal sealed class StringSyntaxAttribute : Attribute
88
{
99
/// <summary>The syntax identifier for strings containing composite formats.</summary>
1010
public const string CompositeFormat = nameof(CompositeFormat);

0 commit comments

Comments
 (0)