42 references to InsertRange
dotnet-svcutil-lib (1)
CodeDomFixup\VisitorFixup.cs (1)
51
list.
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)
507
destinationDescriptions.
InsertRange
(wireUpIndex, sourceDescriptions);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\Grpc\JsonTranscoding\src\Shared\Server\MethodOptions.cs (1)
122
tempInterceptors.
InsertRange
(0, options.Interceptors);
Microsoft.CodeAnalysis (7)
Syntax\SyntaxList`1.cs (2)
267
list.
InsertRange
(index, nodes);
334
list.
InsertRange
(index, newNodes);
Syntax\SyntaxNodeOrTokenList.cs (2)
341
nodes.
InsertRange
(index, nodesAndTokens);
422
nodes.
InsertRange
(index, newNodesAndTokens);
Syntax\SyntaxTokenList.cs (2)
367
list.
InsertRange
(index, tokens);
435
list.
InsertRange
(index, newTokens);
Syntax\SyntaxTriviaList.cs (1)
417
list.
InsertRange
(index, newTrivia);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
110
finalLeadingTrivia.
InsertRange
(insertionIndex, newLeadingTrivia);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (1)
172
usings.
InsertRange
(startOfLastDirective, usingDirectives);
Microsoft.CodeAnalysis.CSharp.Features (3)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (2)
310
newList.
InsertRange
(firstIndex, _statementsOrMemberOrAccessorToInsert.Cast<TSyntax>());
338
newMembers.
InsertRange
(firstMemberIndex,
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
110
finalLeadingTrivia.
InsertRange
(insertionIndex, newLeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (1)
172
usings.
InsertRange
(startOfLastDirective, usingDirectives);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableSegmentedListTest.cs (2)
78
expected.
InsertRange
(position, values);
236
list.
InsertRange
(startPosition, values);
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
768
callChain.
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)
1559
objectsCached.
InsertRange
(start, objectsNew);
1584
objectsCached.
InsertRange
(start, objectsNew.GetRange(idxNew, idx - idxNew));
1609
objectsCached.
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)
4364
cachedRows.
InsertRange
(cachedRows.Count, row.GetParentRows(relation));
4374
cachedRows.
InsertRange
(cachedRows.Count, row.GetChildRows(relation));
System.Private.CoreLib (1)
src\System\Reflection\RuntimeAssembly.cs (1)
784
exceptions.
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)
58
exceptions.
InsertRange
(0, new Exception[numTypes]); // align the Exceptions with the null Types.
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexNode.cs (2)
987
children.
InsertRange
(i + 1, atChildren);
1568
children.
InsertRange
(i + 1, atChildren);
System.Text.RegularExpressions.Generator (2)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (2)
987
children.
InsertRange
(i + 1, atChildren);
1568
children.
InsertRange
(i + 1, atChildren);