SyntaxGenerator.GetStatements(SyntaxNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the statements for the body of the declaration.
public:
abstract System::Collections::Generic::IReadOnlyList<Microsoft::CodeAnalysis::SyntaxNode ^> ^ GetStatements(Microsoft::CodeAnalysis::SyntaxNode ^ declaration);
public abstract System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.SyntaxNode> GetStatements (Microsoft.CodeAnalysis.SyntaxNode declaration);
abstract member GetStatements : Microsoft.CodeAnalysis.SyntaxNode -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.SyntaxNode>
Public MustOverride Function GetStatements (declaration As SyntaxNode) As IReadOnlyList(Of SyntaxNode)
Parameters
- declaration
- SyntaxNode