private void Dispose(bool disposing) { if (m_IPropertySystem != null) { if (!disposing) { Debug.Fail("Failed to dispose PropertySystem"); } Marshal.FinalReleaseComObject(m_IPropertySystem); m_IPropertySystem = null; } if (disposing) { GC.SuppressFinalize(this); } }