Delen via


SyntaxGenerator.DefaultSwitchSection(IEnumerable<SyntaxNode>) Method

Definition

Creates a default section for a switch statement.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ DefaultSwitchSection(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ statements);
public abstract Microsoft.CodeAnalysis.SyntaxNode DefaultSwitchSection (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> statements);
abstract member DefaultSwitchSection : seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function DefaultSwitchSection (statements As IEnumerable(Of SyntaxNode)) As SyntaxNode

Parameters

statements
IEnumerable<SyntaxNode>

Returns

Applies to