public virtual void Dispose(bool disposeManagedResources) { if (!_Disposed) { if (disposeManagedResources) { if (_Reference != 0 && _Interpreter != null) { _Interpreter.ScheduleDispose(_Reference); } } _Interpreter = null; _Disposed = true; } }