internal static string GetStringAndReturn(StringBuilderPrinter instance) { var result = instance.SB.ToString(); Return(instance); return(result); }
internal static void Return(StringBuilderPrinter instance) { instance.SB.Clear(); Interlocked.Exchange(ref m_cachedInstance, instance); }