32 references to AddRange
Microsoft.AspNetCore.Razor.Language.UnitTests (13)
Syntax\SyntaxListTests.cs (13)
148
var newList = emptyList.
AddRange
(nodesToAdd.AsSpan());
173
var newList = originalList.
AddRange
(nodesToAdd.AsSpan());
193
var newList = originalList.
AddRange
(emptySpan);
213
var newList = originalList.
AddRange
(nodesToAdd.AsSpan());
236
var addResult = originalList.
AddRange
(span);
259
var newList = emptyList.
AddRange
(nodesToAdd);
284
var newList = originalList.
AddRange
(nodesToAdd);
304
var newList = originalList.
AddRange
(emptyNodes);
324
var newList = originalList.
AddRange
(nodesToAdd);
345
var addResult = originalList.
AddRange
(nodesToAdd);
381
var newList = emptyList.
AddRange
(mixedNodes);
630
var addResult = originalList.
AddRange
(span);
786
var addResult = originalList.
AddRange
(nodesToInsert);
Microsoft.CodeAnalysis.Razor.Compiler (19)
Language\Syntax\Generated\Syntax.xml.Syntax.Generated.cs (19)
184
public new GenericBlockSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
277
public new MarkupBlockSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
454
public new MarkupCommentBlockSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
617
public MarkupMiscAttributeContentSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
868
public MarkupElementSyntax AddBody(params RazorSyntaxNode[] items) => WithBody(this.Body.
AddRange
(items));
942
public new MarkupStartTagSyntax AddAttributes(params RazorSyntaxNode[] items) => WithAttributes(this.Attributes.
AddRange
(items));
1012
return this.WithMiscAttributeContent(_miscAttributeContent.WithChildren(_miscAttributeContent.Children.
AddRange
(items)));
1072
public MarkupTagHelperElementSyntax AddBody(params RazorSyntaxNode[] items) => WithBody(this.Body.
AddRange
(items));
1144
public new MarkupTagHelperStartTagSyntax AddAttributes(params RazorSyntaxNode[] items) => WithAttributes(this.Attributes.
AddRange
(items));
1212
return this.WithMiscAttributeContent(_miscAttributeContent.WithChildren(_miscAttributeContent.Children.
AddRange
(items)));
1291
public MarkupTagHelperAttributeSyntax AddValueChildren(params RazorSyntaxNode[] items) => WithValue(this.Value.WithChildren(this.Value.Children.
AddRange
(items)));
1384
public new MarkupTagHelperAttributeValueSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
1479
public MarkupTagHelperDirectiveAttributeSyntax AddValueChildren(params RazorSyntaxNode[] items) => WithValue(this.Value.WithChildren(this.Value.Children.
AddRange
(items)));
1597
public new CSharpCodeBlockSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
1811
public new CSharpTemplateBlockSyntax AddChildren(params RazorSyntaxNode[] items) => WithChildren(this.Children.
AddRange
(items));
1938
public CSharpStatementBodySyntax AddCSharpCodeChildren(params RazorSyntaxNode[] items) => WithCSharpCode(this.CSharpCode.WithChildren(this.CSharpCode.Children.
AddRange
(items)));
2051
public CSharpExplicitExpressionBodySyntax AddCSharpCodeChildren(params RazorSyntaxNode[] items) => WithCSharpCode(this.CSharpCode.WithChildren(this.CSharpCode.Children.
AddRange
(items)));
2142
public CSharpImplicitExpressionBodySyntax AddCSharpCodeChildren(params RazorSyntaxNode[] items) => WithCSharpCode(this.CSharpCode.WithChildren(this.CSharpCode.Children.
AddRange
(items)));
2316
return this.WithCSharpCode(_csharpCode.WithChildren(_csharpCode.Children.
AddRange
(items)));