> I've confirmed the behavior you reported. In a debug build, on windows,
> and on mono, the behavior is not the same on .NET and on mono. It should be.
>
> I think this is probably an actual bug and I'll go report it.
>
--
С уважением, Алексей Богомолов horse...@gmail.com
_
`mono -O=-inline [...]'
>
>
> --
> *From:* mono-list-boun...@lists.ximian.com <
> mono-list-boun...@lists.ximian.com> on behalf of Alan <
> alan.mcgov...@gmail.com>
> *Sent:* Tuesday, June 21, 2016 2:33 AM
> *To:* Алексей Богомолов
> *
This behavior makes difficult to troubleshoot errors, especially in
external libraries. Example code:
public class ExceptionReThrow{
public void Test(){
try
{
M1 ();
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
}