void EnsureServiceHost () { lock (type_lock) { Current = this; try { EnsureServiceHostCore (); } finally { Current = null; } } }