[Mono-dev] System.Collections.Generic.Dictionary.CopyTo inaccessible due to protection level

Valentin Sawadski valentin.sawadski at gmx.de
Sun Nov 25 08:02:00 EST 2007


Hello,

On Sun, 2007-11-25 at 14:45 +0200, Antti S. Lankila wrote:
> The Dictionary.CopyTo appears to miss the "public" qualifier, thus 
> making it impossible for client code to make use of this method.
> 

It explicitly implements copy to in line 643 and 653. So CopyTo is
publicly available. If you refer to the CopyTo at line 275, this is
being called by the explicit implementation of it.

Kind Regards,
Valentin S.




More information about the Mono-devel-list mailing list