Skip to content

Commit 121780b

Browse files
committed
Disable CA1034 in Test.ruleset: nested types are standard in test fixtures.
1 parent 843374f commit 121780b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build/Test.ruleset

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
<Rule Id="CA2234" Action="None" />
4343
<!-- Mark ISerializable types with SerializableAttribute - false positive in .NET Core. -->
4444
<Rule Id="CA2237" Action="None" />
45+
<!-- Nested types should not be visible - test scenario classes use nested types extensively. -->
46+
<Rule Id="CA1034" Action="None" />
4547
<!-- Prefer generic overloads - reflection work in Autofac needs to be tested. -->
4648
<Rule Id="CA2263" Action="None" />
4749
</Rules>

0 commit comments

Comments
 (0)