1 override of DuplicateValuesAllowed
Microsoft.CodeAnalysis.UnitTests (1)
Collections\HashSet\ISet_Generic_Tests`1.cs (1)
76
protected override bool
DuplicateValuesAllowed
=> false;
6 references to DuplicateValuesAllowed
Microsoft.CodeAnalysis.UnitTests (6)
Collections\List\ICollection.Generic.Tests.cs (3)
214
if (!IsReadOnly && !AddRemoveClear_ThrowsNotSupported &&
DuplicateValuesAllowed
)
440
if (
DuplicateValuesAllowed
&& !IsReadOnly && !AddRemoveClear_ThrowsNotSupported)
641
if (!IsReadOnly && !AddRemoveClear_ThrowsNotSupported &&
DuplicateValuesAllowed
)
Collections\List\IList.Generic.Tests.cs (3)
254
if (count >= 2 && !IsReadOnly &&
DuplicateValuesAllowed
)
340
if (count > 0 && !IsReadOnly &&
DuplicateValuesAllowed
)
500
if (!IsReadOnly && !AddRemoveClear_ThrowsNotSupported &&
DuplicateValuesAllowed
)