Skip to content

Commit c3fbac3

Browse files
committed
Disable CA1825:Avoid zero-length array allocations
The API it suggests to use is only available since .NET 4.6.
1 parent 9b9c3bf commit c3fbac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/AutoFixture.ruleset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
<Rule Id="CA5122" Action="Warning" />
237237
</Rules>
238238
<Rules AnalyzerId="System.Runtime.Analyzers" RuleNamespace="System.Runtime.Analyzers">
239-
<Rule Id="CA1825" Action="Info" />
239+
<Rule Id="CA1825" Action="None" />
240240
</Rules>
241241
<Rules AnalyzerId="System.Threading.Tasks.Analyzers" RuleNamespace="System.Threading.Tasks.Analyzers">
242242
<Rule Id="RS0018" Action="Info" />

0 commit comments

Comments
 (0)