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)
131list.InsertRange(index, constructIEnumerable(itemsY)); 157list.InsertRange(index, list); 187Assert.Throws<ArgumentOutOfRangeException>(() => list.InsertRange(bad[i], constructIEnumerable(items))); //"ArgumentOutOfRangeException expected" 190Assert.Throws<ArgumentNullException>(() => list.InsertRange(0, null!)); //"ArgumentNullException expected."