Share via


SyntaxFactory.EnableWarningDirectiveTrivia Method

Definition

Overloads

EnableWarningDirectiveTrivia(SeparatedSyntaxList<IdentifierNameSyntax>)

Represents #Enable Warning pre-processing directive appearing in source.

EnableWarningDirectiveTrivia(IdentifierNameSyntax[])

Represents #Enable Warning pre-processing directive appearing in source.

EnableWarningDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SeparatedSyntaxList<IdentifierNameSyntax>)

Represents #Enable Warning pre-processing directive appearing in source.

EnableWarningDirectiveTrivia(SeparatedSyntaxList<IdentifierNameSyntax>)

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 #Enable Warning pre-processing directive appearing in source.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnableWarningDirectiveTriviaSyntax ^ EnableWarningDirectiveTrivia(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^> errorCodes);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax EnableWarningDirectiveTrivia (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> errorCodes);
static member EnableWarningDirectiveTrivia : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax
Public Shared Function EnableWarningDirectiveTrivia (errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax

Parameters

Returns

Applies to

EnableWarningDirectiveTrivia(IdentifierNameSyntax[])

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 #Enable Warning pre-processing directive appearing in source.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnableWarningDirectiveTriviaSyntax ^ EnableWarningDirectiveTrivia(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^> ^ errorCodes);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax EnableWarningDirectiveTrivia (params Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax[] errorCodes);
static member EnableWarningDirectiveTrivia : Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax
Public Shared Function EnableWarningDirectiveTrivia (ParamArray errorCodes As IdentifierNameSyntax()) As EnableWarningDirectiveTriviaSyntax

Parameters

errorCodes
IdentifierNameSyntax[]

Returns

Applies to

EnableWarningDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SeparatedSyntaxList<IdentifierNameSyntax>)

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 #Enable Warning pre-processing directive appearing in source.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnableWarningDirectiveTriviaSyntax ^ EnableWarningDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken enableKeyword, Microsoft::CodeAnalysis::SyntaxToken warningKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^> errorCodes);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax EnableWarningDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken enableKeyword, Microsoft.CodeAnalysis.SyntaxToken warningKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> errorCodes);
static member EnableWarningDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax
Public Shared Function EnableWarningDirectiveTrivia (hashToken As SyntaxToken, enableKeyword As SyntaxToken, warningKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax

Parameters

hashToken
SyntaxToken

The "#" token in a preprocessor directive.

enableKeyword
SyntaxToken
warningKeyword
SyntaxToken

Returns

Applies to