1 override of ModifyEnumeratorAllowed
Microsoft.CodeAnalysis.UnitTests (1)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (1)
34
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)
32
protected override ModifyOperation ModifyEnumeratorThrows => base.
ModifyEnumeratorAllowed
& ~(ModifyOperation.Remove | ModifyOperation.Clear);
Collections\List\IEnumerable.Generic.Tests.cs (7)
449
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
495
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
539
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
701
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
760
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
803
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>
847
Assert.All(GetModifyEnumerables(
ModifyEnumeratorAllowed
), ModifyEnumerable =>