GitNexus/gitnexus/bench
Rubén Molina 154b0b5ffe
fix(csharp): capture array_type parameters to resolve indexElement calls (#4099)
* test(csharp): expect array-typed parameter element calls to resolve (#4098)

repos[0].Save() and repos?[0].Save() on a User[] parameter should reach
User.Save. Fails until the C# query captures array_type parameters.

* fix(csharp): capture array_type parameters to resolve indexElement calls

C# parameters typed T[] emitted no @type-binding.parameter capture, so
repos[0].Save() on a User[] parameter was dropped as an unresolved
receiver. Add an (array_type) parameter pattern; the existing
elementTypeOf index route already peels User[] to User.

- Golden: two new capture groups, both Main(string[] args).
- Receiver-resolution baseline: csharp.indexElement VISIBLE-GAP ->
  RESOLVES; count arm unchanged.

Closes #4098

* fix(csharp): bind array parameters only for scoped owners and plain elements

Review follow-up for #4099.

- Restrict the array_type parameter pattern to method, constructor,
  local-function, operator and conversion-operator parameter lists, and
  to identifier or predefined-type elements. Generic elements
  (Box<User>[], Cell<User>[,]) produced wrong-owner CALLS edges, and
  delegate/indexer/anonymous-method/lambda parameters leaked their
  binding to same-named receivers in other files.
- Add csharp-array-parameter-binding.test.ts: exact User.Save against a
  same-named Repo field decoy, plus no-target rows for the direct array
  call, jagged and rank arrays, generic elements, and the delegate leak
  through params and lambda parameters.
- Re-baseline bench/scope-capture csharp: 3720a3d2 (2899 groups) ->
  38c6dc76 (2901 groups), the two Main(string[] args) parameters. Base
  control at 50228e1 reproduces the prior value.
- Docs: flip indexElement in csharp-ingestion-gaps.md, mark CSHARP-01
  resolved with the remaining shapes, add the C# move to the audit and
  BASELINE.md.

* test(csharp): document why params arrays stay unbound in CSHARP-01 rows

params T[] has no parameter node in tree-sitter-c-sharp, so the array
pattern cannot match it; say so in the test contract. Also describe the
decoy member names accurately.

---------

Co-authored-by: Molinadev30 <187445262+Molinadev30@users.noreply.github.com>
2026-11-26 19:08:46 +00:00
..
analyze-resume feat(analyze): make indexing resource-bounded and resumable (#3829) 2026-11-07 11:27:47 +00:00
callable-value-flow fix(ci): rebalance native tests and stabilize flaky gates (#3719) 2026-10-25 09:38:21 +00:00
cfg fix(taint): avoid false positives for guarded Git arguments (#3703) 2026-10-24 15:37:26 +01:00
cpp-qualified-ns perf(cpp): index qualified namespace members once per pipeline run (#2788) (#2794) 2026-08-02 15:52:33 +01:00
cross-repo-trace fix(group)!: stop group sync claiming matching it never did (#3020) 2026-08-27 18:27:32 +01:00
dart-accessor-scopes test(bench): gate Dart accessor scopes and parameter redeclaration scaling (#3904) (#3919) 2026-11-13 17:50:43 +00:00
dart-closure-binders fix(ingestion): close resolver, import and benchmark review gaps (#3945) 2026-11-15 17:06:51 +00:00
dart-deferred-imports test(bench): gate Dart deferred-import resolution and its scaling (#3910) 2026-11-13 17:48:20 +00:00
embedding-chunking feat(embeddings): preserve AST chunk coverage (#3817) 2026-11-05 14:08:43 +00:00
embedding-identities fix(embeddings): reject corrupt identities before mutation (#3614) 2026-10-17 18:45:28 +01:00
embedding-inputs fix(embeddings): budget generated inputs and isolate rejections (#3615) 2026-10-17 19:37:30 +01:00
emit-persistence fix(routes): scope inline Express handlers and report api_impact lower bound (#3643) 2026-10-20 17:44:08 +01:00
file-result-reuse fix(ingestion): stop reading the callee of an awaited generic member call (#4068) 2026-11-25 05:46:01 +00:00
finalize-reexport fix(python): resolve calls through __init__.py re-exports (#2864) 2026-08-09 12:21:06 +01:00
go-route-facts feat(go): index Gin and Echo routes through configured aliases (#3750) 2026-11-01 21:20:00 +00:00
go-route-resolution feat(go): index gin/echo routes and report them in impact (#3402) (#3417) 2026-10-01 10:22:45 +01:00
group-link-matching fix(group): match a manifest link's consumer only in the repo it names (#3881) 2026-11-15 16:22:31 +00:00
http-route-symbols fix(ingestion): close resolver, import and benchmark review gaps (#3945) 2026-11-15 17:06:51 +00:00
impact-pdg fix(impact-pdg): make the Impact PDG Mutation Report workflow pass (3 latent oracle bugs) (#2258) 2026-06-20 20:40:28 +01:00
import-emission refactor(scope-resolution): put import visibility behind one interface (#3908) 2026-11-13 19:47:00 +00:00
import-target feat(r): add R language support (#3513) 2026-11-19 17:16:27 +00:00
incremental-write-integrity fix(lbug): make FTS COPY failures actionable (#3977) 2026-11-18 07:45:18 +00:00
inline-taint fix(taint): report inline and factory handler flows (#3612) 2026-10-17 20:22:58 +00:00
java-ingestion fix(java): preserve receiver and generated dependency ownership (#3955) 2026-11-18 19:48:30 +00:00
java-lombok-synthesis feat(jvm): synthesize Lombok and Kotlin JVM accessor methods (#2885) 2026-08-31 17:55:52 +00:00
java-overload-resolution fix(cache): reuse unchanged files across chunk boundaries (#3856) 2026-11-10 10:52:15 +00:00
java-wildcard-route-constants feat(jvm): fold Java static wildcards and Kotlin star imports for route constants (#3110) 2026-08-31 21:58:40 +00:00
kotlin-import-target fix(kotlin): resolve imports from declared packages (#2990) 2026-08-18 20:47:30 -07:00
kotlin-jvm-accessors feat(jvm): synthesize Lombok and Kotlin JVM accessor methods (#2885) 2026-08-31 17:55:52 +00:00
kotlin-star-route-constants feat(jvm): fold Java static wildcards and Kotlin star imports for route constants (#3110) 2026-08-31 21:58:40 +00:00
lexical-binding-provenance fix(scope): preserve lexical bindings in HTTP wrapper detection (#3632) 2026-10-20 11:36:06 +01:00
lexical-lookup fix(ingestion): stop reading the callee of an awaited generic member call (#4068) 2026-11-25 05:46:01 +00:00
lib fix(ingestion): stop reading the callee of an awaited generic member call (#4068) 2026-11-25 05:46:01 +00:00
mcp-query perf(ingestion): remove unused worker records and repeated AST walks (#3920) 2026-11-14 15:18:27 +00:00
mcp-serialization fix: reduce MCP token overhead and correct cost comparisons (#3645) 2026-10-20 16:04:10 +01:00
mcp-tools-list fix(mcp): avoid Git scans and repeated metadata parsing during discovery (#4000) 2026-11-19 10:34:02 +00:00
method-declaration-facts fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
objective-c-resolution fix(objective-c): scale semantic rename and stabilize the workspace benchmark (#4001) 2026-11-19 10:46:02 +00:00
ownership-reconcile fix(ingestion): close resolver, import and benchmark review gaps (#3945) 2026-11-15 17:06:51 +00:00
parse-cache-identity feat(cache): derive parser and PDG cache identities automatically (#3606) 2026-10-17 07:38:45 +03:00
parse-dispatch-rounds feat(cache): derive parser and PDG cache identities automatically (#3606) 2026-10-17 07:38:45 +03:00
python-scope perf(python): remove quadratic import-claim reconciliation and deep-syntax hazards (#3964) 2026-11-18 15:04:43 +00:00
python-workspace-import-scan fix(group): detect function-local Python imports (#3254) 2026-09-11 06:23:52 +00:00
receiver-resolution fix(csharp): capture array_type parameters to resolve indexElement calls (#4099) 2026-11-26 19:08:46 +00:00
rename fix(rename): apply the exact reviewed edit plan (#3617) 2026-10-17 19:38:01 +01:00
ruby-bare-reads fix(ingestion): close resolver, import and benchmark review gaps (#3945) 2026-11-15 17:06:51 +00:00
ruby-block-param-stop fix(ruby): a block parameter stops the receiver type walk — it no longer takes a same-named outer local's type (RUBY-03) (#3905) 2026-11-13 17:47:07 +00:00
ruby-gem-resolution fix(ruby): guard gem requires with dependency metadata (#3096) 2026-09-10 16:04:11 +01:00
rust-cargo-targets fix(rust): respect Cargo target boundaries in name fallback (#3294) 2026-09-16 11:36:07 +01:00
schema-pairs fix(scope-resolution): link Record graph nodes (#2871) 2026-08-07 18:33:27 +01:00
scope-capture fix(csharp): capture array_type parameters to resolve indexElement calls (#4099) 2026-11-26 19:08:46 +00:00
scope-emission fix(scope): resolve local imports by lexical ownership (#3532) 2026-10-10 08:13:55 +03:00
scope-processing fix(ingestion): close resolver, import and benchmark review gaps (#3945) 2026-11-15 17:06:51 +00:00
scope-resolution fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
spring-conditionals feat(spring): model profiles, conditions, and auto-configuration (#2678) 2026-07-28 07:05:41 +01:00
spring-config-bindings feat(kotlin): bind Spring config consumers on Kotlin sources (#3126) 2026-09-01 10:32:09 +00:00
staged-publication fix(storage): preserve published graph on rebuild failure (#3613) 2026-10-17 18:45:11 +01:00
swift-package-imports refactor(ingestion): colocate import resolution rules (#3670) 2026-10-22 03:49:35 +00:00
symlink-coverage fix(indexing): converge coverage around directory symlinks (#3616) 2026-10-17 19:37:45 +01:00
tool-accuracy fix(java): resolve overloads by JLS phases (#3791) 2026-11-01 11:08:00 +00:00
trpc-route-extractor feat(ingestion): add tRPC procedure detection and MCP chain/route surfacing (#3339) 2026-09-21 09:44:42 +01:00
typescript-ingestion fix(ingestion): resolve TypeScript receivers and ECMAScript exports (#4039) 2026-11-24 12:48:10 +00:00
typescript-property-dispatch fix(ingestion): resolve TypeScript receivers and ECMAScript exports (#4039) 2026-11-24 12:48:10 +00:00
v8-sidecar fix(ingestion): resolve TypeScript receivers and ECMAScript exports (#4039) 2026-11-24 12:48:10 +00:00
value-ref-resolution fix(python): resolve calls through aliased package re-exports (#3504) 2026-10-08 13:51:20 +03:00
zig-cross-file-resolution fix(zig): resolve cross-file static gates (#3185) 2026-09-07 07:19:30 +01:00
analyze-phase-breakdown.md perf(storage): skip redundant cache interning work (#3820) 2026-11-05 10:31:50 +00:00
parse-throughput.md fix(parse): correct worker-pool docs drift + surface worker-side stack on crash (#2068) (#2070) 2026-06-08 07:20:12 +01:00