Will those IDisposable objects leak memory in this method or will the Dispose method be properly called?
The disposables will get Dispose()
called on them properly since you used a using
statement. When you continue
, the Dispose()
methods will be called prior to the next iteration of the loop.