I verified this, and it indeed _appears_ to be a very nasty bug in DP.
It does work without debugger, and it does pass PEVerify, so it's not
invalid in CLR sense, however C# debugger chokes on it.
I'm not yet able to point to the exact spot that is the cause for this
issue, but trying to do trivial recreation of the issue using bare
System.Reflection.Emit produced assembly that does work with C#
debugger.
If you want to track progress on this issue, it's here:
http://support.castleproject.org/projects/DYNPROXY/issues/view/DYNPROXY-ISSUE-115
I can only say that along the way I found bugs in Reflector and
ReSharper - just to give you an impression of now convoluted scenario
this is.
Krzysztof
On 8 Paź, 16:49, Daniel Cazzulino <
k...@clariusconsulting.net> wrote:
> hehe, of course chavon :)
>
> thanks for tracking this down!
>
> /kzu
>
> --
> Daniel Cazzulino | Developer Lead | XML MVP | Clarius Consulting | +1
>
425.329.3471
>