Returns all of the objects in the local pool back to the shared pool. If the shared
pool is full, the objects are still removed from the local pool but they are discarded
and will be garbage collected (and are not counted in the return value as objects that
were actually returned).

C# |
public int returnAllContextStatisticsToSharedPool()

The number of objects actually returned