[Mono-list] How to make a derived method "non-public"
Nick Drochak
ndrochak@gol.com
Sun, 5 Aug 2001 02:30:10 +0900
Hi all,
I am working on System.Collections.CollectionBase. I noticed from the MS
documentation (on MSDN [1]) that they show Clear() and RemoveAt() as public
members of the class. However, the other members from IList [2] are not.
I don't know if my question is about C# or the docs, but is it syntactically
(is that a word?) possible to make some of IList members non-public in my
class that inherits from it? I can't seem to get the compiler to stop
complaining when I use protected, etc. It seems to want those IList members
to be public.
If it's the documentation that's a problem, then should I mark these areas
in my code with LAMESPEC?
Thanks,
Nick Drochak
P.S. CollectionBase and ReadOnlyCollectionBase are done (minus NUnit tests)
so as soon as I get CVS access...Miguel?
[1]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemcollectionscollectionbasememberstopic.asp
[2]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemcollectionsilistmemberstopic.asp