Delen via


SyntaxList.Create<TNode>(ReadOnlySpan<TNode>) Method

Definition

public static Microsoft.CodeAnalysis.SyntaxList<TNode> Create<TNode> (ReadOnlySpan<TNode> nodes) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member Create : ReadOnlySpan<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function Create(Of TNode As SyntaxNode) (nodes As ReadOnlySpan(Of TNode)) As SyntaxList(Of TNode)

Type Parameters

TNode

Parameters

nodes
ReadOnlySpan<TNode>

Returns

Applies to