Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2005-12-08 10:27:53 +0300
committerAtsushi Eno <atsushieno@gmail.com>2005-12-08 10:27:53 +0300
commitb0a3f8278744a976f85f6a46894dd9283d610940 (patch)
tree744fe17e008fe9e15caee321fae006d502d85255 /mcs/class/System.XML
parent9ff75fb951295c5a995e8af668009b0508ccf446 (diff)
2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDatatype.cs : TypeCode is virtual in 2.0 RTM. svn path=/trunk/mcs/; revision=54096
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r--mcs/class/System.XML/System.Xml.Schema/ChangeLog4
-rw-r--r--mcs/class/System.XML/System.Xml.Schema/XmlSchemaDatatype.cs6
2 files changed, 9 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/ChangeLog b/mcs/class/System.XML/System.Xml.Schema/ChangeLog
index 802f40b40bf..0e1ccbe0718 100644
--- a/mcs/class/System.XML/System.Xml.Schema/ChangeLog
+++ b/mcs/class/System.XML/System.Xml.Schema/ChangeLog
@@ -1,5 +1,9 @@
2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
+ * XmlSchemaDatatype.cs : TypeCode is virtual in 2.0 RTM.
+
+2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
+
* XmlSchemaValidationException.cs :
oops, there is SourceObject other than SourceSchemaObject.
* XmlSchemaCompilationSettings.cs : oops, actually XmlSchemaSet is
diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaDatatype.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaDatatype.cs
index 87c724c590d..ca7f8db7c2f 100644
--- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaDatatype.cs
+++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaDatatype.cs
@@ -49,7 +49,11 @@ namespace System.Xml.Schema
}
#if NET_2_0
- public abstract XmlTypeCode TypeCode { get; }
+ public virtual XmlTypeCode TypeCode {
+ // Actually no way to verify default value, since
+ // in .NET 2.0 it cannot be derived externally anymore.
+ get { return XmlTypeCode.None; }
+ }
public virtual XmlSchemaDatatypeVariety Variety {
get {