14 references to InvalidValues
Microsoft.CodeAnalysis.UnitTests (14)
Collections\HashSet\ISet_Generic_Tests`1.cs (2)
60
while (set.Contains(toAdd) || (
InvalidValues
!= Array.Empty<T>() &&
InvalidValues
.Contains(toAdd, GetIEqualityComparer())))
Collections\List\ICollection.Generic.Tests.cs (9)
62
while (collection.Contains(toAdd, comparer) ||
InvalidValues
.Contains(toAdd, comparer))
167
Assert.All(
InvalidValues
, invalidValue =>
184
Assert.All(
InvalidValues
, invalidValue =>
201
Assert.All(
InvalidValues
, invalidValue =>
455
Assert.All(
InvalidValues
, invalidValue =>
568
if (!IsReadOnly && !AddRemoveClear_ThrowsNotSupported && DefaultValueAllowed && !Enumerable.Contains(
InvalidValues
, default(T)))
592
while (collection.Contains(value) || Enumerable.Contains(
InvalidValues
, value))
603
if (!IsReadOnly && !AddRemoveClear_ThrowsNotSupported && DefaultValueAllowed && !Enumerable.Contains(
InvalidValues
, default(T)))
675
Assert.All(
InvalidValues
, value =>
Collections\List\IList.Generic.Tests.cs (3)
271
Assert.All(
InvalidValues
, value =>
369
Assert.All(
InvalidValues
, value =>
525
Assert.All(
InvalidValues
, value =>