1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 19:48:46 +00:00

Denote CLS-noncompliant tests as such

This commit is contained in:
Oliver Booth 2022-05-07 23:14:07 +01:00
parent 0e726e9cd8
commit 39ccf1f198
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ public class ArrayTests
Assert.ThrowsException<ArgumentNullException>(array!.AsReadOnly);
}
[CLSCompliant(false)]
[TestMethod]
[DataRow]
[DataRow(1)]

View File

@ -6,6 +6,7 @@ namespace X10D.Tests.Collections;
[TestClass]
public class ListTests
{
[CLSCompliant(false)]
[TestMethod]
[DataRow(1)]
[DataRow(1, 2, 3)]
@ -25,6 +26,7 @@ public class ListTests
CollectionAssert.AreEqual(all42, list);
}
[CLSCompliant(false)]
[TestMethod]
[DataRow(1)]
[DataRow(1, 2, 3)]