|
exception specification error in slice2cs
hello everyone
the slice:
exception A {
string reason;
};
exception B extends A {};
class Test
{
void foo() throws B, A;
}
I need code is follow:
...
catch(B ex)
{
... }
catch(A ex)
{
.. }
but the code that was generate by slice2cs is:
...
catch(A ex)
{
... }
catch(B ex)
{
.. }
then build error CS0160.
please check this bug, thanks.
|