}\r
\r
#if NET_2_0\r
- public abstract XmlTypeCode TypeCode { get; }\r
+ public virtual XmlTypeCode TypeCode {\r
+ // Actually no way to verify default value, since\r
+ // in .NET 2.0 it cannot be derived externally anymore.\r
+ get { return XmlTypeCode.None; }\r
+ }\r
\r
public virtual XmlSchemaDatatypeVariety Variety {\r
get {\r
throw new NotImplementedException ();\r
}\r
\r
- [MonoTODO]\r
public virtual bool IsDerivedFrom (XmlSchemaDatatype datatype)\r
{\r
- throw new NotImplementedException ();\r
+ // It is documented to return always false, but\r
+ // actually returns true when the argument is for\r
+ // the same type (and it does not check null argument).\r
+ return this == datatype;\r
}\r
#endif\r
\r