I find it curious that the Synclock...End Synclock do not emit a try finally
as well...
SyncLock Me
Me.someOperation()
End SyncLock
I would expect to see in the generated code:
try
Monitor.Enter(Me)
Me.SomeOperation()
finally
Monitor.Exit(Me)
end try
but it doesnt emit the try finally construct
anybody else find this strange? I definitely find this strange
--
Eric Newton
C#/ASP Application Developer
http://ensoft-software.com/
er**@cc.ensoft-software.com [remove the first "CC."]