#11 Ctor AbstractSegmentItem doesn't set _length

v2.0
open
nobody
Parser (14)
5
2008-11-27
2008-11-27
DogGuts
No

"public AbstractSegmentItem(System.Type t, bool required, int maxReps, int length, System.Object[] constructorArgs, string description)"
in ns NHapi.Base.Model

doesn't set the private member _length, so it's always the initial value: 0.
Adding this line fixes things: "_length = length;"

Discussion