SyntaxNodeExtensions.WithLeadingTrivia 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
WithLeadingTrivia<TSyntax>(TSyntax, SyntaxTriviaList) |
선행 퀴즈를 대체하여 이 노드에서 새 노드를 만듭니다. |
WithLeadingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>) |
선행 퀴즈를 대체하여 이 노드에서 새 노드를 만듭니다. |
WithLeadingTrivia<TSyntax>(TSyntax, SyntaxTrivia[]) |
선행 퀴즈를 대체하여 이 노드에서 새 노드를 만듭니다. |
WithLeadingTrivia<TSyntax>(TSyntax, SyntaxTriviaList)
- 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 WithLeadingTrivia(TSyntax node, Microsoft::CodeAnalysis::SyntaxTriviaList trivia);
public static TSyntax WithLeadingTrivia<TSyntax> (this TSyntax node, Microsoft.CodeAnalysis.SyntaxTriviaList trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithLeadingTrivia : 'Syntax * Microsoft.CodeAnalysis.SyntaxTriviaList -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithLeadingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, trivia As SyntaxTriviaList) As TSyntax
형식 매개 변수
- TSyntax
매개 변수
- node
- TSyntax
- trivia
- SyntaxTriviaList
반환
TSyntax
적용 대상
WithLeadingTrivia<TSyntax>(TSyntax, IEnumerable<SyntaxTrivia>)
- 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 WithLeadingTrivia(TSyntax node, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public static TSyntax WithLeadingTrivia<TSyntax> (this TSyntax node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
public static TSyntax WithLeadingTrivia<TSyntax> (this TSyntax node, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia>? trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithLeadingTrivia : 'Syntax * seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithLeadingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, trivia As IEnumerable(Of SyntaxTrivia)) As TSyntax
형식 매개 변수
- TSyntax
매개 변수
- node
- TSyntax
- trivia
- IEnumerable<SyntaxTrivia>
반환
TSyntax
적용 대상
WithLeadingTrivia<TSyntax>(TSyntax, SyntaxTrivia[])
- 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 WithLeadingTrivia(TSyntax node, ... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public static TSyntax WithLeadingTrivia<TSyntax> (this TSyntax node, params Microsoft.CodeAnalysis.SyntaxTrivia[] trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
public static TSyntax WithLeadingTrivia<TSyntax> (this TSyntax node, params Microsoft.CodeAnalysis.SyntaxTrivia[]? trivia) where TSyntax : Microsoft.CodeAnalysis.SyntaxNode;
static member WithLeadingTrivia : 'Syntax * Microsoft.CodeAnalysis.SyntaxTrivia[] -> 'Syntax (requires 'Syntax :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function WithLeadingTrivia(Of TSyntax As SyntaxNode) (node As TSyntax, ParamArray trivia As SyntaxTrivia()) As TSyntax
형식 매개 변수
- TSyntax
매개 변수
- node
- TSyntax
- trivia
- SyntaxTrivia[]
반환
TSyntax
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET