Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Unnecessary allocations for PropertyDataCollection.GetEnumerator()

Fixed in

EPiServer.CMS.Core 11.18.0

(Or a related package)

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