SyntaxList<TNode> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.