SyntaxNodeOrToken.WithLeadingTrivia 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
WithLeadingTrivia(SyntaxTrivia[]) | |
WithLeadingTrivia(IEnumerable<SyntaxTrivia>) |
WithLeadingTrivia(SyntaxTrivia[])
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithLeadingTrivia(... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithLeadingTrivia (params Microsoft.CodeAnalysis.SyntaxTrivia[] trivia);
member this.WithLeadingTrivia : Microsoft.CodeAnalysis.SyntaxTrivia[] -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithLeadingTrivia (ParamArray trivia As SyntaxTrivia()) As SyntaxNodeOrToken
Parameters
- trivia
- SyntaxTrivia[]
Returns
Applies to
WithLeadingTrivia(IEnumerable<SyntaxTrivia>)
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
- Source:
- SyntaxNodeOrToken.cs
public:
Microsoft::CodeAnalysis::SyntaxNodeOrToken WithLeadingTrivia(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxNodeOrToken WithLeadingTrivia (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia);
member this.WithLeadingTrivia : seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function WithLeadingTrivia (trivia As IEnumerable(Of SyntaxTrivia)) As SyntaxNodeOrToken
Parameters
- trivia
- IEnumerable<SyntaxTrivia>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.