Commit 5e771c5
committed
fix: resolve zero-arg data-source method via binder Type.EmptyTypes
GetMethod(name, flags) returns null (not throws) when the name is
ambiguous, so a parameterless data-source method coexisting with other
overloads silently resolved to null. Route the zero-argument case
through the same binder GetMethod(name, flags, binder, Type[], modifiers)
path: the empty Type[] selects the parameterless overload even when
other-arity overloads share the name. Null-argument fallback unchanged.1 parent ff637f1 commit 5e771c5
1 file changed
Lines changed: 8 additions & 6 deletions
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
337 | 342 | | |
338 | 343 | | |
339 | 344 | | |
340 | 345 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
348 | 350 | | |
349 | 351 | | |
350 | 352 | | |
| |||
0 commit comments