Share via


SyntaxFactory.BadDirectiveTrivia Method

Definition

Overloads

BadDirectiveTrivia(SyntaxToken, Boolean)

Creates a new BadDirectiveTriviaSyntax instance.

BadDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, Boolean)

Creates a new BadDirectiveTriviaSyntax instance.

BadDirectiveTrivia(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

Creates a new BadDirectiveTriviaSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::BadDirectiveTriviaSyntax ^ BadDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken identifier, bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.BadDirectiveTriviaSyntax BadDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken identifier, bool isActive);
static member BadDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.BadDirectiveTriviaSyntax
Public Shared Function BadDirectiveTrivia (identifier As SyntaxToken, isActive As Boolean) As BadDirectiveTriviaSyntax

Parameters

identifier
SyntaxToken
isActive
Boolean

Returns

Applies to

BadDirectiveTrivia(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

Creates a new BadDirectiveTriviaSyntax instance.

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

Parameters

hashToken
SyntaxToken
identifier
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

Returns

Applies to