GetElementType() returns null for non-array types, therefore breaking most of the use cases. This prioritizes GetElementType() when getting the type, but falls back to .FieldType when the other value is null.
Some additional testing might be needed to ensure nothing else breaks.
Closes #207
GetElementType()
returns null for non-array types, therefore breaking most of the use cases. This prioritizesGetElementType()
when getting the type, but falls back to.FieldType
when the other value is null.Some additional testing might be needed to ensure nothing else breaks.