4 references to CopyTo
Microsoft.CodeAnalysis (2)
ImmutableSegmentedList`1.cs (1)
218=> _list.CopyTo(index, array, arrayIndex, count);
ImmutableSegmentedList`1+ValueBuilder.cs (1)
133=> ReadOnlyList.CopyTo(index, array, arrayIndex, count);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\List\SegmentedList.Generic.Tests.cs (2)
70Assert.Throws<ArgumentException>(null, () => list.CopyTo(0, new T[0], 0, count + 1)); 71Assert.Throws<ArgumentException>(null, () => list.CopyTo(count, new T[0], 0, 1));