Skip to main content

CSharpFactory.DefaultSwitchSection Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
DefaultSwitchSection(StatementSyntax)
DefaultSwitchSection(SyntaxList<StatementSyntax>)

DefaultSwitchSection(StatementSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax DefaultSwitchSection(Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement)

Parameters

statement StatementSyntax

Returns

SwitchSectionSyntax

DefaultSwitchSection(SyntaxList<StatementSyntax>)

public static Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax DefaultSwitchSection(Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> statements)

Parameters

statements SyntaxList<StatementSyntax>

Returns

SwitchSectionSyntax