Skip to content

C# overloaded methods not indexed #1407

Description

@tool-buddy

Version

codebase-memory-mcp 0.9.1-rc.1

Platform

Windows (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

ui

What happened, and what did you expect?

What happened?
Regarding C# code, the indexer does not index overloaded constructors/methods. Only the last defined overload is retained in the knowledge graph.

What did you expect?
That all the c# methods should be indexed.

Reproduction

1. The code
Unity-Technologies/UnityCsReference / 4f66825 / Editor/Mono/Overlays/OverlayAttribute.cs
https://github.com/Unity-Technologies/UnityCsReference/blob/2022.3/Editor/Mono/Overlays/OverlayAttribute.cs

2. The exact command
codebase-memory-mcp cli search_graph --label "Method" --name_pattern "^OverlayAttribute$" --project "unity-api-2022.3"

3. What the output was vs. what it should have been.
total: 1 results: 1 (rows: name label lines in out; qn = group prefix + "." + name) unity-api-2022.3.Editor.Mono.Overlays.OverlayAttribute.OverlayAttribute (Editor/Mono/Overlays/OverlayAttribute.cs): OverlayAttribute Method 195-198 2 1 has_more: false
It should have been 4 results

Logs


Diagnostics trajectory (memory / performance / leak issues)


Project scale (if relevant)

300.000 node / 800.000 edge / 8.000 file

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.ux/behaviorDisplay bugs, docs, adoption UXwindowsWindows-specific issues

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions