[Mono-list] yield

Rodrigo B. de Oliveira rodrigobamboo at gmail.com
Thu Sep 15 16:59:54 EDT 2005


On 9/15/05, Bernhard Herzog <schwimmlehrer at gmail.com> wrote:
> Well, ok. Thanks :)
> 
> > Right. But I would be surprised if that code is allowed because
> > AFAÏK it is not possible to branch to inside a try block, right?
> 
> According to the Microsoft documentation it is ok to have yield in a try
> block if there is no catch clause:
> <http://winfx.msdn.microsoft.com/library/en-us/dv_csref/html/1089194f-9e53-46a2-8642-53ccbe9d414d.asp>
> 

Cool, I didn't know that. Thanks!

-- 
bamboo


More information about the Mono-list mailing list