SyntaxGenerator.GetGetAccessorStatements(SyntaxNode) Method

Definition

Gets the statements for the body of the get-accessor of the declaration.

public:
 abstract System::Collections::Generic::IReadOnlyList<Microsoft::CodeAnalysis::SyntaxNode ^> ^ GetGetAccessorStatements(Microsoft::CodeAnalysis::SyntaxNode ^ declaration);
public abstract System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.SyntaxNode> GetGetAccessorStatements (Microsoft.CodeAnalysis.SyntaxNode declaration);
abstract member GetGetAccessorStatements : Microsoft.CodeAnalysis.SyntaxNode -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.SyntaxNode>
Public MustOverride Function GetGetAccessorStatements (declaration As SyntaxNode) As IReadOnlyList(Of SyntaxNode)

Parameters

declaration
SyntaxNode

Returns

Applies to