SyntaxNodeExtensions.WithoutTrivia 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.
Overloads
WithoutTrivia(SyntaxToken) |
Creates a new token from this token without leading or trailing trivia. |
WithoutTrivia<TSyntax>(TSyntax) |
Creates a new node from this node without leading or trailing trivia. |
WithoutTrivia(SyntaxToken)
- 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
Creates a new token from this token without leading or trailing trivia.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::SyntaxToken WithoutTrivia(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.SyntaxToken WithoutTrivia (this Microsoft.CodeAnalysis.SyntaxToken token);
static member WithoutTrivia : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxToken
<Extension()>
Public Function WithoutTrivia (token As SyntaxToken) As SyntaxToken
Parameters
- token
- SyntaxToken
Returns
Applies to
WithoutTrivia<TSyntax>(TSyntax)
- 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
Creates a new node from this node without leading or trailing trivia.
public:
generic <typename TSyntax>
where TSyntax : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TSyntax WithoutTrivia(TSyntax syntax);
public static TSyntax WithoutTrivia<TSyntax> (this TSyntax syntax) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithoutTrivia : 'Syntax -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithoutTrivia(Of TSyntax As SyntaxNode) (syntax As TSyntax) As TSyntax
Type Parameters
- TSyntax
Parameters
- syntax
- TSyntax
Returns
TSyntax
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.