Fergus,
The first 2 for sure.
There was no intellisense for the method and the compiler underlined the
method and said it could not be accessed because it was Private.
Sample code:
Level 1
Protected MustInherit Class Base
Protected Shared Function DoSomething(ByVal Source As String) As String
End Function
================================================
Level 2
Protected MustInherit Class GeneratedStuff
Inherits Base
Protected Shared Function DoSomethingElse(ByVal Source As String) As String
End Function
================================================
Level 3
Protected MustInherit Class HandCodedStuff
Inherits GeneratedStuff
Protected Shared Function IWroteThis(ByVal Source As String) As String
End Function
================================================
Level 4 (implements same functionality as Level 3 but also allows customized
changes by overriding methods or creating new ones that are specific to a
single client. Level 3 functionality is for all clients.)
Public MustInherit Class FinalLevel
Inherits HandCodedStuff
Public Shadows Function DoSomethingElse(ByVal Source As String) As String
End Function
--
Joe Fallon
"Fergus Cooney" <fi*****@post.com> wrote in message
news:u4*************@TK2MSFTNGP11.phx.gbl...
Hi Joe,
It depends on what you mean by 'see'. Do you mean that
1) Intellisense can't see it or
2) Level4 can't access it (within itself) and gives a compiler
warning, or
3) users of the Level4 class can't access it?
It would be handy to post some code as well.
Cheers,
Fergus