SyntaxGenerator.AddAccessors Method

Definition

Creates a new instance of the declaration with the accessors added.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AddAccessors(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ accessors);
public Microsoft.CodeAnalysis.SyntaxNode AddAccessors (Microsoft.CodeAnalysis.SyntaxNode declaration, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> accessors);
member this.AddAccessors : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AddAccessors (declaration As SyntaxNode, accessors As IEnumerable(Of SyntaxNode)) As SyntaxNode

Parameters

declaration
SyntaxNode
accessors
IEnumerable<SyntaxNode>

Returns

Applies to