SyntaxList<TNode>.AddRange(IEnumerable<TNode>) Method

Definition

Creates a new list with the specified nodes added at the end.

public:
 Microsoft::CodeAnalysis::SyntaxList<TNode> AddRange(System::Collections::Generic::IEnumerable<TNode> ^ nodes);
public Microsoft.CodeAnalysis.SyntaxList<TNode> AddRange (System.Collections.Generic.IEnumerable<TNode> nodes);
member this.AddRange : seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Function AddRange (nodes As IEnumerable(Of TNode)) As SyntaxList(Of TNode)

Parameters

nodes
IEnumerable<TNode>

The nodes to add.

Returns

Applies to