FirstOrNullItem returns null in some cases
Closed this issue · 0 comments
broderickhyman commented
IEnumerable<IPropertyDefinition>.FirstOrNullItem()
will return null instead of a null item
Workaround is: IEnumerable<IPropertyDefinition>.FirstOrDefault() ?? Item.GetNullItem<Property>()