public void Dispose()
 {
     // Technically, calling GC.SuppressFinalize is not required because the class does not
     // have a finalizer, but it does no harm, protects against the case where a finalizer is added
     // in the future, and prevents an FxCop warning.
     GC.SuppressFinalize(this);
     _shaper.Finally();
 }
 public void Dispose()
 {
     // Technically, calling GC.SuppressFinalize is not required because the class does not
     // have a finalizer, but it does no harm, protects against the case where a finalizer is added
     // in the future, and prevents an FxCop warning.
     GC.SuppressFinalize(this);
     // For backwards compatibility, we set the current value to the
     // default value, so you can still call Current.
     _shaper.RootCoordinator.SetCurrentToDefault();
     _shaper.Finally();
 }