Summary
A static lambda inside a method body is an expression, not a nested function declaration named static. It should be represented as a lambda only if lambda symbols are enabled.
Evidence
definition static includes a function named static at NameFold.cs line 122 whose signature is the stateful static lambda passed to string.Create, with a malformed overload disambiguator built from the lambda body.
Evidence paths:
- src/CodeIndex/Database/NameFold.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
A static lambda inside a method body is an expression, not a nested function declaration named static. It should be represented as a lambda only if lambda symbols are enabled.
Evidence
definition static includes a function named static at NameFold.cs line 122 whose signature is the stateful static lambda passed to string.Create, with a malformed overload disambiguator built from the lambda body.
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.