SyntaxGenerator.DefaultSwitchSection(IEnumerable<SyntaxNode>) 方法

定义

为 switch 语句创建默认节。

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

参数

statements
IEnumerable<SyntaxNode>

返回

适用于