Skip to content

Recover C# method names after multiline tuple return types #4456

Description

@Widthdom

Summary

Methods whose tuple return type spans multiple lines are valid declarations; the scanner should identify the identifier after the tuple, not use the static modifier as the symbol name.

Evidence

definition static --lang csharp --exact-name returns BuildSchemaSummary, BuildCSharpUsingImports, BuildCSharpValueReceiverNameLookups, and other real methods as functions named static. Their signatures show multiline tuple return types followed by the actual method names.

Evidence paths:

  • src/CodeIndex/Indexer/References/Languages/CSharpReferenceExtractor.Support.cs

Environment

Locally built cdidx 1.37.2 from origin/main 098db58; full net8/net9 test suite passed before dogfooding.

Duplicate check

No equivalent open issue existed before this filing batch. Closed issues were not treated as blockers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcodex

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions