Re: protected abstract method & target:library

Jeroen Frijters <[email protected]> Thu, 8 Oct 2015 06:32:49 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hello Ales,

"protected internal" does not mean "assembly-only" visibility. It means that all subclasses AND all classes in the assembly have access. You can override these methods just fine (but you must use "protected override" not "protected internal override" in C#.

BTW, this has nothing to do with IKVM.

Regards,
Jeroen

> -----Original Message-----
> From: Kruch [mailto:[email protected]]
> Sent: Thursday, October 8, 2015 0:11
> To: [email protected]
> Subject: [Ikvm-developers] protected abstract method & target:library
> 
> Hello,
> 
> "protected abstract" method compiles into "protected internal abstract",
> which is a bit unfortunate when target is library, because you cannot
> override the method due the same-assembly-only visibility.
> 
> Tested with ikvm-8.1.5717.0.
> 
> Thank you,
>    Ales
> 


------------------------------------------------------------------------------