Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled table missing last column #1

Open
Dia opened this issue Jun 7, 2016 · 0 comments
Open

Compiled table missing last column #1

Dia opened this issue Jun 7, 2016 · 0 comments

Comments

@Dia
Copy link

Dia commented Jun 7, 2016

MY guess was that this prevents the last property being filled.
var properties = GetTargetInfoForType(typeof(T)); var propertyMap = properties.ToDictionary(ti => ti.Position); var maxPropertyIndex = propertyMap.Keys.Max(); for (int i = 0; i < maxPropertyIndex; i++) {

this should be <= maxPropertyIndex
var properties = GetTargetInfoForType(typeof(T)); var propertyMap = properties.ToDictionary(ti => ti.Position); var maxPropertyIndex = propertyMap.Keys.Max(); for (int i = 0; i <= maxPropertyIndex; i++) {

@Dia Dia closed this as completed Jun 7, 2016
@Dia Dia reopened this Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant