-
Notifications
You must be signed in to change notification settings - Fork 3k
C# overloaded methods not indexed #1407
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.Needs near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.ux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UXwindowsWindows-specific issuesWindows-specific issues
Milestone
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.Needs near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.ux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UXwindowsWindows-specific issuesWindows-specific issues
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: falseIt 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