Condividi tramite


SyntaxNodeExtensions.WithoutTrivia Metodo

Definizione

Overload

WithoutTrivia(SyntaxToken)

Crea un nuovo token da questo token senza iniziali o finali.

WithoutTrivia<TSyntax>(TSyntax)

Crea un nuovo nodo da questo nodo senza limitazione iniziale o finale.

WithoutTrivia(SyntaxToken)

Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs

Crea un nuovo token da questo token senza iniziali o finali.

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

Parametri

token
SyntaxToken

Restituisce

Si applica a

WithoutTrivia<TSyntax>(TSyntax)

Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs
Origine:
SyntaxNodeExtensions.cs

Crea un nuovo nodo da questo nodo senza limitazione iniziale o finale.

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

Parametri di tipo

TSyntax

Parametri

syntax
TSyntax

Restituisce

TSyntax

Si applica a