CSharpFactory.DefaultSwitchSection Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
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
DefaultSwitchSection(SyntaxList<StatementSyntax>)
public static Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax DefaultSwitchSection(Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax> statements)
Parameters
statements SyntaxList<StatementSyntax>