SyntaxFactory.TriviaList 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
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:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
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:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
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:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
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:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET