Skip to content

Commit 7ec2bc0

Browse files
committed
Activate SYSLIB1045: Use GeneratedRegexAttribute to generate the regular expression implementation at compile time
1 parent bf44bc5 commit 7ec2bc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CodingGuidelines.ruleset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,7 @@
4545
<Rule Id="CA2207" Action="Warning" />
4646
<Rule Id="CA2217" Action="Warning" />
4747
</Rules>
48+
<Rules AnalyzerId="System.Text.RegularExpressions.Generator" RuleNamespace="System.Text.RegularExpressions.Generator">
49+
<Rule Id="SYSLIB1045" Action="Warning" />
50+
</Rules>
4851
</RuleSet>

0 commit comments

Comments
 (0)