Skip to content

Commit 56e5dfa

Browse files
committed
Copy&pasted documentation is sometimes okay
1 parent c507554 commit 56e5dfa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/LinkDotNet.StringBuilder/StringSyntaxAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#if NET6_0
22
namespace System.Diagnostics.CodeAnalysis;
33

4-
/// <summary>Fake version of the StringSyntaxAttribute, which was introduced in .NET 7</summary>
4+
/// <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.")]
77
internal sealed class StringSyntaxAttribute : Attribute

stylecop.analyzers.ruleset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
<Rule Id="SA1600" Action="None"/>
8888
<Rule Id="SA1601" Action="None"/>
8989
<Rule Id="SA1633" Action="None"/>
90+
<Rule Id="SA1625" Action="Info"/>
9091
<Rule Id="SA1609" Action="Warning"/>
9192
<Rule Id="SA1649" Action="None"/>
9293
</Rules>

0 commit comments

Comments
 (0)