Skip to content

[pull] main from w-ahmad:main#29

Merged
pull[bot] merged 6 commits into
mavaddat:mainfrom
w-ahmad:main
Jun 25, 2026
Merged

[pull] main from w-ahmad:main#29
pull[bot] merged 6 commits into
mavaddat:mainfrom
w-ahmad:main

Conversation

@pull

@pull pull Bot commented Jun 25, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

DanielTrommel and others added 6 commits June 11, 2026 20:14
… in the BindingPath string). Included test cases for collection of items with the same parent class, on which shared properties and indexers are defined.

Signed-off-by: Daniël Trommel <d.s.trommel@gmail.com>
…tial naming slip-up from when I first build it (focussed on properties)

Signed-off-by: Daniël Trommel <d.s.trommel@gmail.com>
…s the original Getter flow; when navigating to the final segment, the code is exactly the same. Only the final bit of code (get versus set) is different.

This refactor also exposed a subtle bug;  GetCompiledValueSetter_ShouldNotSet_ForOutOfBoundsNonGenericListIndex failed with ArgumentOutOfRangeException. This was a latent bug in the setter that the old over-specialization was masking:

 - For a property typed IList (non-generic ArrayList), the shared navigation correctly leaves current.Type as the interface IList (no over-specialization).
 - The setter's bounds-check did current.Type.GetProperty("Count"), but Count is declared on the base ICollection interface — and reflection doesn't surface inherited members on interface types. So countProperty was null, the bounds check was skipped, and the raw indexer assignment threw.
 - The old setter only "worked" by accident: it had converted current to the concrete ArrayList, where Count is found directly.
…for-subclasses

Compiled binding path for subclasses - support for mixed collection
@pull pull Bot locked and limited conversation to collaborators Jun 25, 2026
@pull pull Bot added the ⤵️ pull label Jun 25, 2026
@pull pull Bot merged commit 748f7b7 into mavaddat:main Jun 25, 2026
@pull pull Bot had a problem deploying to github-pages June 25, 2026 17:03 Failure
@pull pull Bot had a problem deploying to ci-nuget-publish June 25, 2026 17:06 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants