CSharpFactory.Block Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
Block(StatementSyntax) | |
Block(SyntaxToken, StatementSyntax, SyntaxToken) |
Block(StatementSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax Block(Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement)
Parameters
statement StatementSyntax
Returns
Block(SyntaxToken, StatementSyntax, SyntaxToken)
public static Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax Block(Microsoft.CodeAnalysis.SyntaxToken openBrace, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement, Microsoft.CodeAnalysis.SyntaxToken closeBrace)
Parameters
openBrace SyntaxToken
statement StatementSyntax
closeBrace SyntaxToken