SyntaxFactory.DoStatement 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
DoStatement(StatementSyntax, ExpressionSyntax) |
Creates a new DoStatementSyntax instance. |
DoStatement(SyntaxList<AttributeListSyntax>, StatementSyntax, ExpressionSyntax) |
Creates a new DoStatementSyntax instance. |
DoStatement(SyntaxToken, StatementSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken) |
Creates a new DoStatementSyntax instance. |
DoStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, StatementSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken) |
Creates a new DoStatementSyntax instance. |
DoStatement(StatementSyntax, ExpressionSyntax)
- 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 DoStatementSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition);
static member DoStatement : Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax
Public Shared Function DoStatement (statement As StatementSyntax, condition As ExpressionSyntax) As DoStatementSyntax
Parameters
- statement
- StatementSyntax
- condition
- ExpressionSyntax
Returns
Applies to
DoStatement(SyntaxList<AttributeListSyntax>, StatementSyntax, ExpressionSyntax)
- 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 DoStatementSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition);
static member DoStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax
Public Shared Function DoStatement (attributeLists As SyntaxList(Of AttributeListSyntax), statement As StatementSyntax, condition As ExpressionSyntax) As DoStatementSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- statement
- StatementSyntax
- condition
- ExpressionSyntax
Returns
Applies to
DoStatement(SyntaxToken, StatementSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.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:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
- Source:
- DoStatementSyntax.cs
Creates a new DoStatementSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::SyntaxToken doKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement, Microsoft::CodeAnalysis::SyntaxToken whileKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition, Microsoft::CodeAnalysis::SyntaxToken closeParenToken, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.SyntaxToken doKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement, Microsoft.CodeAnalysis.SyntaxToken whileKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member DoStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax
Public Shared Function DoStatement (doKeyword As SyntaxToken, statement As StatementSyntax, whileKeyword As SyntaxToken, openParenToken As SyntaxToken, condition As ExpressionSyntax, closeParenToken As SyntaxToken, semicolonToken As SyntaxToken) As DoStatementSyntax
Parameters
- doKeyword
- SyntaxToken
- statement
- StatementSyntax
- whileKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- condition
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- semicolonToken
- SyntaxToken
Returns
Applies to
DoStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, StatementSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, 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 DoStatementSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken doKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement, Microsoft.CodeAnalysis.SyntaxToken whileKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member DoStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DoStatementSyntax
Public Shared Function DoStatement (attributeLists As SyntaxList(Of AttributeListSyntax), doKeyword As SyntaxToken, statement As StatementSyntax, whileKeyword As SyntaxToken, openParenToken As SyntaxToken, condition As ExpressionSyntax, closeParenToken As SyntaxToken, semicolonToken As SyntaxToken) As DoStatementSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- doKeyword
- SyntaxToken
- statement
- StatementSyntax
- whileKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- condition
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- semicolonToken
- SyntaxToken
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET