[Mono-list] Problem with inheritance

Sebastien Lambla sebastien.lambla@6sens.com
Sun, 15 Jul 2001 03:01:38 -0700


Hello all,

I can't seem to see where my problem lies. I'm trying to implement the
PageParser class. Here's the partial code:

public sealed class PageParser : TemplateControlParser
{
	protected override Type DefaultBaseType
	{
		get
		{
			return null;
		}
	}
}
The compiler keep on telling me System.Web.UI.PageParser does not implement
inherited abstract class member
System.Web.UI.TemplateParser.DefaultBaseType.get

The DefaultBaseType property is an abstract defined in the TemplateParser,
and TemplateControlParser inherits from it.

What am I doing wrong? Here is the metadata on this property :

.property instance class [mscorlib]System.Type
        DefaultBaseType()

and

.method assembly hidebysig specialname virtual
        instance class [mscorlib]System.Type
        get_DefaultBaseType() cil managed

I'm sure I'm missing a very simple thing, but can't seem to go nowhere...

Thanks,

Sebastien Lambla