dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [DotGNU]inheritance problem


From: Neil Cawse
Subject: RE: [DotGNU]inheritance problem
Date: Thu, 17 Jul 2003 17:20:01 -0400

Sorry Gopal, a bizarre set of coincidences.
 


From: Gopal V [mailto:address@hidden
Sent: Fri 7/18/2003 10:30 PM
To: Neil Cawse
Cc: address@hidden
Subject: Re: [DotGNU]inheritance problem

If memory serves me right, Neil Cawse wrote:
> Produces blank line in portable.net
> and test1 in ms.net
> not sure why??

This works for me ... and has been for some time now ...

.class nested private auto ansi 'Test2' extends 'Test'/'Test1'
{
.method public hidebysig specialname rtspecialname instance void '.ctor'() cil managed
{
        ldarg.0
        call    instance void 'Test'/'Test1'::'.ctor'()
        ret
        .maxstack 1
} // method .ctor
} // class Test2

is what I get from cscc , which obviously does call the parent constructor.

Could you check the binary you were using ?.

Gopal
--
The difference between insanity and genius is measured by success


reply via email to

[Prev in Thread] Current Thread [Next in Thread]