Unnecessary allocations for PropertyDataCollection.GetEnumerator()

Fixed in

EPiServer.CMS.Core 11.18.0

Created

Jun 15, 2020

Updated

Aug 11, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

PropertyBlock.IsNull iterates over PropertyDataCollection.Property which creates enumerator unnecessarily. If it is called a lot (which is more often than not) it can cause unnecessary allocations