SyntaxNodeExtensions.WithTrailingTrivia Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
WithTrailingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>) |
Crée un nœud à partir de ce nœud avec la trivia de fin remplacée. |
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTrivia[]) |
Crée un nœud à partir de ce nœud avec la trivia de fin remplacée. |
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTriviaList) |
Crée un nœud à partir de ce nœud avec la trivia de fin remplacée. |
WithTrailingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>)
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
Crée un nœud à partir de ce nœud avec la trivia de fin remplacée.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithTrailingTrivia(TSyntax node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia>? trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithTrailingTrivia : 'Syntax * seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, trivia As IEnumerable(Of SyntaxTrivia)) As TSyntax
Paramètres de type
- TSyntax
Paramètres
- node
- TSyntax
- trivia
- IEnumerable<SyntaxTrivia>
Retours
S’applique à
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTrivia[])
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
Crée un nœud à partir de ce nœud avec la trivia de fin remplacée.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithTrailingTrivia(TSyntax node, ... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, params Microsoft.CodeAnalysis.SyntaxTrivia[] trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, params Microsoft.CodeAnalysis.SyntaxTrivia[]? trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithTrailingTrivia : 'Syntax * Microsoft.CodeAnalysis.SyntaxTrivia[] -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, ParamArray trivia As SyntaxTrivia()) As TSyntax
Paramètres de type
- TSyntax
Paramètres
- node
- TSyntax
- trivia
- SyntaxTrivia[]
Retours
S’applique à
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTriviaList)
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
- Source:
- SyntaxNodeExtensions.cs
Crée un nœud à partir de ce nœud avec la trivia de fin remplacée.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithTrailingTrivia(TSyntax node, Microsoft::CodeAnalysis::SyntaxTriviaList trivia);
public static TSyntax WithTrailingTrivia<TSyntax> (this TSyntax node, Microsoft.CodeAnalysis.SyntaxTriviaList trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithTrailingTrivia : 'Syntax * Microsoft.CodeAnalysis.SyntaxTriviaList -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithTrailingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, trivia As SyntaxTriviaList) As TSyntax
Paramètres de type
- TSyntax
Paramètres
- node
- TSyntax
- trivia
- SyntaxTriviaList