5 references to InsertRange
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
215
=> GetOrCreateMutableList().
InsertRange
(index, items);
Microsoft.CodeAnalysis.UnitTests (4)
Collections\List\SegmentedList.Generic.Tests.Misc.cs (4)
131
list.
InsertRange
(index, constructIEnumerable(itemsY));
157
list.
InsertRange
(index, list);
187
Assert.Throws<ArgumentOutOfRangeException>(() => list.
InsertRange
(bad[i], constructIEnumerable(items))); //"ArgumentOutOfRangeException expected"
190
Assert.Throws<ArgumentNullException>(() => list.
InsertRange
(0, null!)); //"ArgumentNullException expected."