You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++) {
The text was updated successfully, but these errors were encountered:
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++) {
The text was updated successfully, but these errors were encountered: