1 override of ModifyEnumeratorAllowed
Microsoft.CodeAnalysis.UnitTests (1)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (1)
32
protected override ModifyOperation
ModifyEnumeratorAllowed
=> ModifyOperation.Overwrite | ModifyOperation.Remove | ModifyOperation.Clear;
8 references to ModifyEnumeratorAllowed
Microsoft.CodeAnalysis.UnitTests (8)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (1)
30
protected override ModifyOperation ModifyEnumeratorThrows => base.
ModifyEnumeratorAllowed
& ~(ModifyOperation.Remove | ModifyOperation.Clear);
Collections\List\IEnumerable.Generic.Tests.cs (7)
399
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
445
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
489
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
651
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
710
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
753
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
797
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>