42 references to InsertRange
dotnet-svcutil-lib (1)
CodeDomFixup\VisitorFixup.cs (1)
51list.InsertRange(4, new CodeDomVisitor[] {
IdeCoreBenchmarks (2)
SegmentedListBenchmarks_InsertRange.cs (2)
49_values.InsertRange(0, _insertValues); 61_valuesObject.InsertRange(0, _insertValuesObject);
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
507destinationDescriptions.InsertRange(wireUpIndex, sourceDescriptions);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\Grpc\JsonTranscoding\src\Shared\Server\MethodOptions.cs (1)
122tempInterceptors.InsertRange(0, options.Interceptors);
Microsoft.CodeAnalysis (7)
Syntax\SyntaxList`1.cs (2)
267list.InsertRange(index, nodes); 334list.InsertRange(index, newNodes);
Syntax\SyntaxNodeOrTokenList.cs (2)
341nodes.InsertRange(index, nodesAndTokens); 422nodes.InsertRange(index, newNodesAndTokens);
Syntax\SyntaxTokenList.cs (2)
367list.InsertRange(index, tokens); 435list.InsertRange(index, newTokens);
Syntax\SyntaxTriviaList.cs (1)
417list.InsertRange(index, newTrivia);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
110finalLeadingTrivia.InsertRange(insertionIndex, newLeadingTrivia);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (1)
172usings.InsertRange(startOfLastDirective, usingDirectives);
Microsoft.CodeAnalysis.CSharp.Features (3)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (2)
310newList.InsertRange(firstIndex, _statementsOrMemberOrAccessorToInsert.Cast<TSyntax>()); 338newMembers.InsertRange(firstMemberIndex,
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
110finalLeadingTrivia.InsertRange(insertionIndex, newLeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (1)
172usings.InsertRange(startOfLastDirective, usingDirectives);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableSegmentedListTest.cs (2)
78expected.InsertRange(position, values); 236list.InsertRange(startPosition, values);
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
768callChain.InsertRange(0, callingType.Namespace.Split('.'));
Microsoft.Maui.Controls (3)
TemplatedItemsList.cs (3)
1004 _templatedObjects.InsertRange(_templatedObjects.Count, Enumerable.Repeat<TItem>(null, maxindex - _templatedObjects.Count)); 1014 _templatedObjects.InsertRange(e.NewStartingIndex, Enumerable.Repeat<TItem>(null, e.NewItems.Count)); 1051 _templatedObjects.InsertRange(e.NewStartingIndex, itemsToMove);
Microsoft.Maui.Graphics (1)
Text\AttributedTextRunExtensions.cs (1)
197 runs.InsertRange(i++, intersections);
PresentationCore (1)
System\Windows\Ink\StrokeCollection.cs (1)
522( (List<Stroke>)this.Items ).InsertRange(indexes[0], strokesToReplaceWith);
PresentationFramework (7)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
370_segments.InsertRange(ind, res);
MS\Internal\PtsHost\TextParagraph.cs (3)
1559objectsCached.InsertRange(start, objectsNew); 1584objectsCached.InsertRange(start, objectsNew.GetRange(idxNew, idx - idxNew)); 1609objectsCached.InsertRange(end, objectsNew.GetRange(idxNew, objectsNew.Count - idxNew));
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
931_regions.InsertRange(i, remainder);
System\Windows\Data\CollectionView.cs (1)
1813_changeLog.InsertRange(0, changeLog);
System\Windows\Documents\FixedFlowMap.cs (1)
167_flowOrder.InsertRange(index, flowNew);
System.Data.Common (2)
System\Data\DataTable.cs (2)
4364cachedRows.InsertRange(cachedRows.Count, row.GetParentRows(relation)); 4374cachedRows.InsertRange(cachedRows.Count, row.GetChildRows(relation));
System.Private.CoreLib (1)
src\System\Reflection\RuntimeAssembly.cs (1)
784exceptions.InsertRange(0, new Exception[numTypes]); // align the Exceptions with the null Types.
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XslAst.cs (1)
132_content.InsertRange(0, collection);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Assemblies\RoAssembly.GetForwardedTypes.cs (1)
58exceptions.InsertRange(0, new Exception[numTypes]); // align the Exceptions with the null Types.
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexNode.cs (2)
987children.InsertRange(i + 1, atChildren); 1568children.InsertRange(i + 1, atChildren);
System.Text.RegularExpressions.Generator (2)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (2)
987children.InsertRange(i + 1, atChildren); 1568children.InsertRange(i + 1, atChildren);