Partager via


SyntaxFactory.ShebangDirectiveTrivia Method

Definition

Overloads

ShebangDirectiveTrivia(Boolean)

Creates a new ShebangDirectiveTriviaSyntax instance.

ShebangDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, Boolean)

Creates a new ShebangDirectiveTriviaSyntax instance.

ShebangDirectiveTrivia(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
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
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 ShebangDirectiveTriviaSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ShebangDirectiveTriviaSyntax ^ ShebangDirectiveTrivia(bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ShebangDirectiveTriviaSyntax ShebangDirectiveTrivia (bool isActive);
static member ShebangDirectiveTrivia : bool -> Microsoft.CodeAnalysis.CSharp.Syntax.ShebangDirectiveTriviaSyntax
Public Shared Function ShebangDirectiveTrivia (isActive As Boolean) As ShebangDirectiveTriviaSyntax

Parameters

isActive
Boolean

Returns

Applies to

ShebangDirectiveTrivia(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
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
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 ShebangDirectiveTriviaSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ShebangDirectiveTriviaSyntax ^ ShebangDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken exclamationToken, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ShebangDirectiveTriviaSyntax ShebangDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken exclamationToken, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member ShebangDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.ShebangDirectiveTriviaSyntax
Public Shared Function ShebangDirectiveTrivia (hashToken As SyntaxToken, exclamationToken As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As ShebangDirectiveTriviaSyntax

Parameters

hashToken
SyntaxToken
exclamationToken
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

Returns

Applies to