hey JB.

I was looking through the mcs code and it just uses virtual. Am I missing
something? I would think using virtual would be enough without using
NewSlot/ReuseSlot. If the method is virtual on the base then it must be an
override otherwise its a shadow. In the major languages I can think of this
is good enough, don't remember if IL even allows me to break this.

Cheers,

Greg

On Tue, Oct 26, 2010 at 3:58 PM, Greg Young <[email protected]> wrote:

> Ah yes ... That should do it thanks JB.
>
>
> On Tue, Oct 26, 2010 at 3:46 PM, Jb Evain <[email protected]> wrote:
>
>> On Tue, Oct 26, 2010 at 9:42 PM, Greg Young <[email protected]>
>> wrote:
>> > but I guess I could just look if A::Foo is virtual. Not sure if that is
>> good
>> > enough, will have to check ECMA docs.
>>
>> You indeed have to check whether they're virtual. You also have to
>> differentiate NewSlot/ReuseSlot methods for shadowing or overriding.
>>
>> --
>> --
>> mono-cecil
>
>
>
>
> --
> Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de
> votre attention
>



-- 
Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de
votre attention

-- 
--
mono-cecil

Reply via email to