ThrowIfDisposed method

void ThrowIfDisposed()
Throws if disposed.

Implementation

/* private */
void ThrowIfDisposed() {
  if (this._isDisposed) {
    throw new ObjectDisposedException(this.runtimeType.toString());
  }
}