Compartir a través de


SyntaxToken.WithLeadingTrivia Método

Definición

Sobrecargas

WithLeadingTrivia(SyntaxTrivia[])

Crea un nuevo token a partir de este token con la trivia inicial especificada.

WithLeadingTrivia(SyntaxTriviaList)

Crea un nuevo token a partir de este token con la trivia inicial especificada.

WithLeadingTrivia(IEnumerable<SyntaxTrivia>)

Crea un nuevo token a partir de este token con la trivia inicial especificada.

WithLeadingTrivia(SyntaxTrivia[])

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

Crea un nuevo token a partir de este token con la trivia inicial especificada.

public:
 Microsoft::CodeAnalysis::SyntaxToken WithLeadingTrivia(... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxToken WithLeadingTrivia (params Microsoft.CodeAnalysis.SyntaxTrivia[] trivia);
public Microsoft.CodeAnalysis.SyntaxToken WithLeadingTrivia (params Microsoft.CodeAnalysis.SyntaxTrivia[]? trivia);
member this.WithLeadingTrivia : Microsoft.CodeAnalysis.SyntaxTrivia[] -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithLeadingTrivia (ParamArray trivia As SyntaxTrivia()) As SyntaxToken

Parámetros

trivia
SyntaxTrivia[]

Devoluciones

Se aplica a

WithLeadingTrivia(SyntaxTriviaList)

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

Crea un nuevo token a partir de este token con la trivia inicial especificada.

public:
 Microsoft::CodeAnalysis::SyntaxToken WithLeadingTrivia(Microsoft::CodeAnalysis::SyntaxTriviaList trivia);
public Microsoft.CodeAnalysis.SyntaxToken WithLeadingTrivia (Microsoft.CodeAnalysis.SyntaxTriviaList trivia);
member this.WithLeadingTrivia : Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithLeadingTrivia (trivia As SyntaxTriviaList) As SyntaxToken

Parámetros

Devoluciones

Se aplica a

WithLeadingTrivia(IEnumerable<SyntaxTrivia>)

Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs
Source:
SyntaxToken.cs

Crea un nuevo token a partir de este token con la trivia inicial especificada.

public:
 Microsoft::CodeAnalysis::SyntaxToken WithLeadingTrivia(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxToken WithLeadingTrivia (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia);
public Microsoft.CodeAnalysis.SyntaxToken WithLeadingTrivia (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia>? trivia);
member this.WithLeadingTrivia : seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxToken
Public Function WithLeadingTrivia (trivia As IEnumerable(Of SyntaxTrivia)) As SyntaxToken

Parámetros

Devoluciones

Se aplica a