Method IsLeafCollection(object)

Assembly: redb.Core.dll

True for a collection that can hold no reference at all - an array or a System generic
collection whose element types are primitives, value types or strings (a byte[]
payload above all). Walking such a collection element by element boxes every item for
nothing; both graph walkers (this installer and the Pro stub collector) skip it.

public static bool IsLeafCollection(object node)