Aracılığıyla paylaş


SyntaxList<TNode> Constructors

Definition

Overloads

SyntaxList<TNode>(IEnumerable<TNode>)

Creates a list of syntax nodes.

SyntaxList<TNode>(TNode)

Creates a singleton list of syntax nodes.

SyntaxList<TNode>(IEnumerable<TNode>)

Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs

Creates a list of syntax nodes.

public:
 SyntaxList(System::Collections::Generic::IEnumerable<TNode> ^ nodes);
public SyntaxList (System.Collections.Generic.IEnumerable<TNode> nodes);
public SyntaxList (System.Collections.Generic.IEnumerable<TNode>? nodes);
new Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> : seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Sub New (nodes As IEnumerable(Of TNode))

Parameters

nodes
IEnumerable<TNode>

A sequence of element nodes.

Applies to

SyntaxList<TNode>(TNode)

Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs
Source:
SyntaxList%601.cs

Creates a singleton list of syntax nodes.

public:
 SyntaxList(TNode node);
public SyntaxList (TNode node);
public SyntaxList (TNode? node);
new Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> : 'Node -> Microsoft.CodeAnalysis.SyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Sub New (node As TNode)

Parameters

node
TNode

The single element node.

Applies to