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