33 references to AddRange
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
PooledObjects\PooledArrayBuilder`1.cs (2)
291
=>
AddRange
(list, startIndex: 0, list.Count);
461
AddRange
(list, startIndex, count);
Microsoft.AspNetCore.Razor.Utilities.Shared.UnitTests (1)
PooledObjects\PooledArrayBuilderTests.cs (1)
840
builder.
AddRange
(list, 1, 3); // Should add values 1, 2, 3
Microsoft.CodeAnalysis.Razor.Compiler (30)
Language\Syntax\SyntaxList`1.cs (14)
177
builder.
AddRange
(this, 0, index);
183
builder.
AddRange
(this, index, count - index);
211
builder.
AddRange
(this, 0, index);
226
builder.
AddRange
(this, index, count - index);
243
builder.
AddRange
(this, 0, index);
249
builder.
AddRange
(this, index, count - index);
273
builder.
AddRange
(this, 0, index);
276
builder.
AddRange
(this, index + 1, newCount - index);
332
builder.
AddRange
(this, 0, index);
338
builder.
AddRange
(this, index + 1, newCount - index);
371
builder.
AddRange
(this, 0, index);
377
builder.
AddRange
(this, index + 1, newCount - index);
395
builder.
AddRange
(this, 0, index);
403
builder.
AddRange
(this, index + 1, newCount - index);
Language\Syntax\SyntaxRewriter.cs (2)
64
builder.
AddRange
(list, startIndex: 0, count: i);
108
builder.
AddRange
(list, startIndex: 0, count: i);
Language\Syntax\SyntaxTokenList.cs (14)
192
builder.
AddRange
(this, 0, index);
198
builder.
AddRange
(this, index, count - index);
221
builder.
AddRange
(this, 0, index);
236
builder.
AddRange
(this, index, count - index);
253
builder.
AddRange
(this, 0, index);
259
builder.
AddRange
(this, index, count - index);
279
builder.
AddRange
(this, 0, index);
282
builder.
AddRange
(this, index + 1, newCount - index);
323
builder.
AddRange
(this, 0, index);
329
builder.
AddRange
(this, index + 1, newCount - index);
356
builder.
AddRange
(this, 0, index);
362
builder.
AddRange
(this, index + 1, newCount - index);
380
builder.
AddRange
(this, 0, index);
388
builder.
AddRange
(this, index + 1, newCount - index);