pub fn csharp_member_has_accessors(node: &Node<'_>) -> boolExpand description
Returns true when a C# indexer_declaration / property_declaration
carries bodied accessors — an accessor_list containing at least one
accessor_declaration (get / set / init). Returns false for the
expression-bodied form (this[int i] => _d[i]; / int W => _w;), which
has no accessor list and defines a single implicit getter.
Shared by CsharpCode::is_func / is_func_space and
CsharpCode::get_space_kind so all three agree on when an indexer or
property opens its own Function space versus deferring to its accessor
children. This mirrors the npm reference (csharp_count_member): the
member counts as its accessor count, falling back to 1 for the
accessor-less expression-bodied form (#464 indexer, #472 property).