SyntaxFactory.SingletonSeparatedList<TNode>(TNode) Method
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.
Creates a singleton separated list.
public:
generic <typename TNode>
where TNode : Microsoft::CodeAnalysis::SyntaxNode static Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> SingletonSeparatedList(TNode node);
public static Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> SingletonSeparatedList<TNode> (TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member SingletonSeparatedList : 'Node -> Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function SingletonSeparatedList(Of TNode As SyntaxNode) (node As TNode) As SeparatedSyntaxList(Of TNode)
Type Parameters
- TNode
The specific type of the element nodes.
Parameters
- node
- TNode
A single node.
Returns
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.