Let\'s say I have a disposable object MyDisposable whom take as a constructor parameter another disposable object.
MyDisposable
using(MyDisposable myDisposab
Why not nest them?
using(var outer = new AnotherDisposable()) { using(var inner = new MyDisposable(outer)) { //whatever } }
Now at least you can be sure they'll be disposed off correctly.