Skip to content

Commit 52a1433

Browse files
committed
Suppressed warning regarding extension
It makes sense that only classes that are collections should end with `Collection`. Unfortunately, xUnit.net uses the name "Collection" for items that don't implement `IEnumerable`. As such, we're suppressing this warning here.
1 parent 2644201 commit 52a1433

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

OnTopic.Tests/Fixtures/SharedRepositoryCollection.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
using OnTopic.TestDoubles;
77
using Xunit;
88

9+
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
10+
911
namespace OnTopic.Tests.Fixtures {
1012

1113
/*============================================================================================================================
@@ -20,3 +22,5 @@ public class SharedRepositoryCollection: ICollectionFixture<TopicInfrastructureF
2022

2123
}
2224
}
25+
26+
#pragma warning restore CA1711 // Identifiers should not have incorrect suffix

0 commit comments

Comments
 (0)