Udostępnij za pośrednictwem


SyntaxFactory.TriviaList Method

Definition

Overloads

TriviaList()

Creates an empty list of trivia.

TriviaList(SyntaxTrivia)

Creates a singleton list of trivia.

TriviaList(SyntaxTrivia[])

Creates a list of trivia.

TriviaList(IEnumerable<SyntaxTrivia>)

Creates a list of trivia.

TriviaList()

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Creates an empty list of trivia.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList();
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList ();
static member TriviaList : unit -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList () As SyntaxTriviaList

Returns

Applies to

TriviaList(SyntaxTrivia)

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Creates a singleton list of trivia.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
static member TriviaList : Microsoft.CodeAnalysis.SyntaxTrivia -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (trivia As SyntaxTrivia) As SyntaxTriviaList

Parameters

trivia
SyntaxTrivia

A single trivia.

Returns

Applies to

TriviaList(SyntaxTrivia[])

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Creates a list of trivia.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivias);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (params Microsoft.CodeAnalysis.SyntaxTrivia[] trivias);
static member TriviaList : Microsoft.CodeAnalysis.SyntaxTrivia[] -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (ParamArray trivias As SyntaxTrivia()) As SyntaxTriviaList

Parameters

trivias
SyntaxTrivia[]

An array of trivia.

Returns

Applies to

TriviaList(IEnumerable<SyntaxTrivia>)

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Creates a list of trivia.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivias);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivias);
static member TriviaList : seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (trivias As IEnumerable(Of SyntaxTrivia)) As SyntaxTriviaList

Parameters

trivias
IEnumerable<SyntaxTrivia>

A sequence of trivia.

Returns

Applies to