SyntaxNodeExtensions.WithTrailingTrivia メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
WithTrailingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>) |
末尾のトリビアが置き換えられた新しいノードをこのノードから作成します。 |
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTrivia[]) |
末尾のトリビアが置き換えられた新しいノードをこのノードから作成します。 |
WithTrailingTrivia<TSyntax>(TSyntax, SyntaxTriviaList) |
末尾のトリビアが置き換えられた新しいノードをこのノードから作成します。 |
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
末尾のトリビアが置き換えられた新しいノードをこのノードから作成します。
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
型パラメーター
- TSyntax
パラメーター
- node
- TSyntax
- trivia
- IEnumerable<SyntaxTrivia>
戻り値
TSyntax
適用対象
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
末尾のトリビアが置き換えられた新しいノードをこのノードから作成します。
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
型パラメーター
- TSyntax
パラメーター
- node
- TSyntax
- trivia
- SyntaxTrivia[]
戻り値
TSyntax
適用対象
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
末尾のトリビアが置き換えられた新しいノードをこのノードから作成します。
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
型パラメーター
- TSyntax
パラメーター
- node
- TSyntax
- trivia
- SyntaxTriviaList
戻り値
TSyntax
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET