private static object[] GetThreadLocalDebugInfo()
        {
            var info = ourThreadLocalDebugInfo;

            if (info == null || info.Count == 0)
            {
                return(EmptyArray.GetInstance <object>());
            }

            return(info.ToArray());
        }