共用方式為


SyntaxFactory.EmptyStatement Method

Definition

Overloads

EmptyStatement(SyntaxList<AttributeListSyntax>, SyntaxToken)

Creates a new EmptyStatementSyntax instance.

EmptyStatement(SyntaxToken)

Creates a new EmptyStatementSyntax instance.

EmptyStatement()

Creates a new EmptyStatementSyntax instance.

EmptyStatement(SyntaxList<AttributeListSyntax>)

Creates a new EmptyStatementSyntax instance.

EmptyStatement(SyntaxList<AttributeListSyntax>, SyntaxToken)

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

public static Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax EmptyStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member EmptyStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax
Public Shared Function EmptyStatement (attributeLists As SyntaxList(Of AttributeListSyntax), semicolonToken As SyntaxToken) As EmptyStatementSyntax

Parameters

semicolonToken
SyntaxToken

Returns

Applies to

EmptyStatement(SyntaxToken)

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

Creates a new EmptyStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::EmptyStatementSyntax ^ EmptyStatement(Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax EmptyStatement (Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member EmptyStatement : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax
Public Shared Function EmptyStatement (semicolonToken As SyntaxToken) As EmptyStatementSyntax

Parameters

semicolonToken
SyntaxToken

Returns

Applies to

EmptyStatement()

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

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::EmptyStatementSyntax ^ EmptyStatement();
public static Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax EmptyStatement ();
static member EmptyStatement : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax
Public Shared Function EmptyStatement () As EmptyStatementSyntax

Returns

Applies to

EmptyStatement(SyntaxList<AttributeListSyntax>)

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

public static Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax EmptyStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists);
static member EmptyStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.EmptyStatementSyntax
Public Shared Function EmptyStatement (attributeLists As SyntaxList(Of AttributeListSyntax)) As EmptyStatementSyntax

Parameters

Returns

Applies to