Sdílet prostřednictvím


SyntaxFactory.CheckedStatement Method

Definition

Overloads

CheckedStatement(SyntaxKind, BlockSyntax)

Creates a new CheckedStatementSyntax instance.

CheckedStatement(SyntaxKind, SyntaxList<AttributeListSyntax>, BlockSyntax)

Creates a new CheckedStatementSyntax instance.

CheckedStatement(SyntaxKind, SyntaxToken, BlockSyntax)

Creates a new CheckedStatementSyntax instance.

CheckedStatement(SyntaxKind, SyntaxList<AttributeListSyntax>, SyntaxToken, BlockSyntax)

Creates a new CheckedStatementSyntax instance.

CheckedStatement(SyntaxKind, BlockSyntax)

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 CheckedStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax CheckedStatement (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block = default);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax CheckedStatement (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block = default);
static member CheckedStatement : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax
Public Shared Function CheckedStatement (kind As SyntaxKind, Optional block As BlockSyntax = Nothing) As CheckedStatementSyntax

Parameters

kind
SyntaxKind
block
BlockSyntax

Returns

Applies to

CheckedStatement(SyntaxKind, SyntaxList<AttributeListSyntax>, BlockSyntax)

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 CheckedStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax CheckedStatement (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member CheckedStatement : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax
Public Shared Function CheckedStatement (kind As SyntaxKind, attributeLists As SyntaxList(Of AttributeListSyntax), block As BlockSyntax) As CheckedStatementSyntax

Parameters

kind
SyntaxKind
block
BlockSyntax

Returns

Applies to

CheckedStatement(SyntaxKind, SyntaxToken, BlockSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.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:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs
Source:
CheckedStatementSyntax.cs

Creates a new CheckedStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CheckedStatementSyntax ^ CheckedStatement(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken keyword, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax CheckedStatement (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken keyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member CheckedStatement : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax
Public Shared Function CheckedStatement (kind As SyntaxKind, keyword As SyntaxToken, block As BlockSyntax) As CheckedStatementSyntax

Parameters

kind
SyntaxKind
keyword
SyntaxToken
block
BlockSyntax

Returns

Applies to

CheckedStatement(SyntaxKind, SyntaxList<AttributeListSyntax>, SyntaxToken, BlockSyntax)

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 CheckedStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax CheckedStatement (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken keyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member CheckedStatement : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.CheckedStatementSyntax
Public Shared Function CheckedStatement (kind As SyntaxKind, attributeLists As SyntaxList(Of AttributeListSyntax), keyword As SyntaxToken, block As BlockSyntax) As CheckedStatementSyntax

Parameters

kind
SyntaxKind
keyword
SyntaxToken
block
BlockSyntax

Returns

Applies to