SyntaxNodeExtensions.WithoutTrivia 方法

定义

重载

WithoutTrivia(SyntaxToken)

从此令牌创建新令牌,而无需前导或尾随琐事。

WithoutTrivia<TSyntax>(TSyntax)

从此节点创建新节点,而无需前导或尾随琐事。

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
Source:
SyntaxNodeExtensions.cs

从此令牌创建新令牌,而无需前导或尾随琐事。

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

参数

token
SyntaxToken

返回

适用于

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
Source:
SyntaxNodeExtensions.cs

从此节点创建新节点,而无需前导或尾随琐事。

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

类型参数

TSyntax

参数

syntax
TSyntax

返回

TSyntax

适用于