6 references to InsertRange
Microsoft.CodeAnalysis (2)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
213
=> GetOrCreateMutableList().
InsertRange
(index, items);
SegmentedList`1.cs (1)
268
=>
InsertRange
(_size, collection);
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."