Menu

#8 Enumerator may have no IDisposable interface

open
nobody
None
5
2007-01-01
2007-01-01
Anonymous
No

Currently php code generator falsely assumes each enumerator has IDisposable.Dispose method while ending the using block.

This is caused by the lack of isinst opcode support.

msil: isinst [mscorlib]System.IDisposable

Workaround: Implement the interface

Proposed fix: Make isinst work :)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB