SyntaxFactory.WarningDirectiveTrivia 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
WarningDirectiveTrivia(Boolean) |
Creates a new WarningDirectiveTriviaSyntax instance. |
WarningDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, Boolean) |
Creates a new WarningDirectiveTriviaSyntax instance. |
WarningDirectiveTrivia(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 WarningDirectiveTriviaSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::WarningDirectiveTriviaSyntax ^ WarningDirectiveTrivia(bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.WarningDirectiveTriviaSyntax WarningDirectiveTrivia (bool isActive);
static member WarningDirectiveTrivia : bool -> Microsoft.CodeAnalysis.CSharp.Syntax.WarningDirectiveTriviaSyntax
Public Shared Function WarningDirectiveTrivia (isActive As Boolean) As WarningDirectiveTriviaSyntax
Parameters
- isActive
- Boolean
Returns
Applies to
WarningDirectiveTrivia(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 WarningDirectiveTriviaSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::WarningDirectiveTriviaSyntax ^ WarningDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken warningKeyword, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.WarningDirectiveTriviaSyntax WarningDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken warningKeyword, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member WarningDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.WarningDirectiveTriviaSyntax
Public Shared Function WarningDirectiveTrivia (hashToken As SyntaxToken, warningKeyword As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As WarningDirectiveTriviaSyntax
Parameters
- hashToken
- SyntaxToken
- warningKeyword
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.