SyntaxFactory.BadDirectiveTrivia Method

Definition

Overloads

BadDirectiveTrivia()

Represents an unrecognized pre-processing directive. This occurs when the parser encounters a hash '#' token at the beginning of a physical line but does recognize the text that follows as a valid Visual Basic pre-processing directive.

BadDirectiveTrivia(SyntaxToken)

Represents an unrecognized pre-processing directive. This occurs when the parser encounters a hash '#' token at the beginning of a physical line but does recognize the text that follows as a valid Visual Basic pre-processing directive.

BadDirectiveTrivia()

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents an unrecognized pre-processing directive. This occurs when the parser encounters a hash '#' token at the beginning of a physical line but does recognize the text that follows as a valid Visual Basic pre-processing directive.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::BadDirectiveTriviaSyntax ^ BadDirectiveTrivia();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.BadDirectiveTriviaSyntax BadDirectiveTrivia ();
static member BadDirectiveTrivia : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.BadDirectiveTriviaSyntax
Public Shared Function BadDirectiveTrivia () As BadDirectiveTriviaSyntax

Returns

Applies to

BadDirectiveTrivia(SyntaxToken)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents an unrecognized pre-processing directive. This occurs when the parser encounters a hash '#' token at the beginning of a physical line but does recognize the text that follows as a valid Visual Basic pre-processing directive.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::BadDirectiveTriviaSyntax ^ BadDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.BadDirectiveTriviaSyntax BadDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken);
static member BadDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.BadDirectiveTriviaSyntax
Public Shared Function BadDirectiveTrivia (hashToken As SyntaxToken) As BadDirectiveTriviaSyntax

Parameters

hashToken
SyntaxToken

The "#" token in a preprocessor directive.

Returns

Applies to