void IDisposable.Dispose() { object obj2 = s_Instances; lock (obj2) { s_Instances.Remove(this.m_Id); } this.Dispose_cpp(); }