Summary
Text inside C# raw or multiline string literals must not be parsed as C# declarations. SQL keywords and clauses currently become phantom functions with malformed signatures and ranges.
Evidence
definition in --lang csharp --exact-name returns six functions named IN from SQL text in DbReader.Dependencies.cs and DbSymbolReader.Hotspots.cs, including repeated consecutive SQL lines and return types made from SELECT/WHERE fragments.
Evidence paths:
- src/CodeIndex/Database/DbReader.Dependencies.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.
Summary
Text inside C# raw or multiline string literals must not be parsed as C# declarations. SQL keywords and clauses currently become phantom functions with malformed signatures and ranges.
Evidence
definition in --lang csharp --exact-name returns six functions named IN from SQL text in DbReader.Dependencies.cs and DbSymbolReader.Hotspots.cs, including repeated consecutive SQL lines and return types made from SELECT/WHERE fragments.
Evidence paths:
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.