Sdílet prostřednictvím


SyntaxFactory.FixedStatement Method

Definition

Overloads

FixedStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, SyntaxToken, StatementSyntax)

Creates a new FixedStatementSyntax instance.

FixedStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, SyntaxToken, StatementSyntax)

Creates a new FixedStatementSyntax instance.

FixedStatement(VariableDeclarationSyntax, StatementSyntax)

Creates a new FixedStatementSyntax instance.

FixedStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, StatementSyntax)

Creates a new FixedStatementSyntax instance.

FixedStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, SyntaxToken, StatementSyntax)

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

Creates a new FixedStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::FixedStatementSyntax ^ FixedStatement(Microsoft::CodeAnalysis::SyntaxToken fixedKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::SyntaxToken closeParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax FixedStatement (Microsoft.CodeAnalysis.SyntaxToken fixedKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member FixedStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax
Public Shared Function FixedStatement (fixedKeyword As SyntaxToken, openParenToken As SyntaxToken, declaration As VariableDeclarationSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As FixedStatementSyntax

Parameters

fixedKeyword
SyntaxToken
openParenToken
SyntaxToken
closeParenToken
SyntaxToken
statement
StatementSyntax

Returns

Applies to

FixedStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, SyntaxToken, StatementSyntax)

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

public static Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax FixedStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken fixedKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member FixedStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax
Public Shared Function FixedStatement (attributeLists As SyntaxList(Of AttributeListSyntax), fixedKeyword As SyntaxToken, openParenToken As SyntaxToken, declaration As VariableDeclarationSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As FixedStatementSyntax

Parameters

fixedKeyword
SyntaxToken
openParenToken
SyntaxToken
closeParenToken
SyntaxToken
statement
StatementSyntax

Returns

Applies to

FixedStatement(VariableDeclarationSyntax, StatementSyntax)

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

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::FixedStatementSyntax ^ FixedStatement(Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax FixedStatement (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member FixedStatement : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax
Public Shared Function FixedStatement (declaration As VariableDeclarationSyntax, statement As StatementSyntax) As FixedStatementSyntax

Parameters

statement
StatementSyntax

Returns

Applies to

FixedStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, StatementSyntax)

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

public static Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax FixedStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member FixedStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.FixedStatementSyntax
Public Shared Function FixedStatement (attributeLists As SyntaxList(Of AttributeListSyntax), declaration As VariableDeclarationSyntax, statement As StatementSyntax) As FixedStatementSyntax

Parameters

statement
StatementSyntax

Returns

Applies to