SyntaxNodeExtensions.WithoutLeadingTrivia<TSyntax>(TSyntax) 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 new node from this node with the leading trivia removed.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithoutLeadingTrivia(TSyntax node);
public static TSyntax WithoutLeadingTrivia<TSyntax> (this TSyntax node) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithoutLeadingTrivia : 'Syntax -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithoutLeadingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax) As TSyntax
Type Parameters
- TSyntax
Parameters
- node
- TSyntax
Returns
TSyntax
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET