Skip to content

Member group for method with generic arguments should show "OverloadDefinitions" with the specified argument types applied #16813

@daxian-dbw

Description

@daxian-dbw

This is a follow-up issue to #12412
Ideally, member group for method with generic arguments should show "OverloadDefinitions" with the specified argument types applied.

Repro steps:

PS> $linq = [System.Linq.Enumerable]
PS> $linq::Distinct[int]

OverloadDefinitions
-------------------
static System.Collections.Generic.IEnumerable[TSource] Distinct[TSource](System.Collections.Generic.IEnumerable[TSource] source)
static System.Collections.Generic.IEnumerable[TSource] Distinct[TSource](System.Collections.Generic.IEnumerable[TSource] source,
System.Collections.Generic.IEqualityComparer[TSource] comparer)

The generic arguments are parsed and the ITypeName are kept in MemberExpressionAst, but it's not used when generating the overload definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-No ActivityIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions