SyntaxFactory.LineSpanDirectiveTrivia 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
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, Boolean) |
Creates a new LineSpanDirectiveTriviaSyntax instance. |
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, Boolean) |
Creates a new LineSpanDirectiveTriviaSyntax instance. |
LineSpanDirectiveTrivia(SyntaxToken, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, SyntaxToken, Boolean) |
Creates a new LineSpanDirectiveTriviaSyntax instance. |
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, Boolean)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new LineSpanDirectiveTriviaSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax LineSpanDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax start, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax end, Microsoft.CodeAnalysis.SyntaxToken file, bool isActive);
static member LineSpanDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax
Public Shared Function LineSpanDirectiveTrivia (start As LineDirectivePositionSyntax, end As LineDirectivePositionSyntax, file As SyntaxToken, isActive As Boolean) As LineSpanDirectiveTriviaSyntax
Parameters
- file
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, Boolean)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new LineSpanDirectiveTriviaSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax LineSpanDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax start, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax end, Microsoft.CodeAnalysis.SyntaxToken characterOffset, Microsoft.CodeAnalysis.SyntaxToken file, bool isActive);
static member LineSpanDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax
Public Shared Function LineSpanDirectiveTrivia (start As LineDirectivePositionSyntax, end As LineDirectivePositionSyntax, characterOffset As SyntaxToken, file As SyntaxToken, isActive As Boolean) As LineSpanDirectiveTriviaSyntax
Parameters
- characterOffset
- SyntaxToken
- file
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
LineSpanDirectiveTrivia(SyntaxToken, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, SyntaxToken, Boolean)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new LineSpanDirectiveTriviaSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax LineSpanDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken lineKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax start, Microsoft.CodeAnalysis.SyntaxToken minusToken, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax end, Microsoft.CodeAnalysis.SyntaxToken characterOffset, Microsoft.CodeAnalysis.SyntaxToken file, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member LineSpanDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax
Public Shared Function LineSpanDirectiveTrivia (hashToken As SyntaxToken, lineKeyword As SyntaxToken, start As LineDirectivePositionSyntax, minusToken As SyntaxToken, end As LineDirectivePositionSyntax, characterOffset As SyntaxToken, file As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As LineSpanDirectiveTriviaSyntax
Parameters
- hashToken
- SyntaxToken
- lineKeyword
- SyntaxToken
- minusToken
- SyntaxToken
- characterOffset
- SyntaxToken
- file
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET